[Git][NTPsec/ntpsec][master] Fix script and Python-module installation.

Eric S. Raymond gitlab at mg.gitlab.com
Tue Aug 16 20:28:00 UTC 2016


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
212114f5 by Eric S. Raymond at 2016-08-16T16:27:26-04:00
Fix script and Python-module installation.

- - - - -


1 changed file:

- wscript


Changes:

=====================================
wscript
=====================================
--- a/wscript
+++ b/wscript
@@ -37,11 +37,12 @@ def dist(ctx):
 
 def options(ctx):
 	options_cmd(ctx, config)
+	ctx.recurse("ntpstats")
 
 def configure(ctx):
 	from wafhelpers.configure import cmd_configure
 	cmd_configure(ctx, config)
-
+	ctx.recurse("ntpstats")
 
 from waflib.Build import BuildContext
 class check(BuildContext):
@@ -143,12 +144,12 @@ def build(ctx):
 	ctx.recurse("ntpq")
 	ctx.recurse("ntpkeygen")
 	ctx.recurse("ntptime")
+	ctx.recurse("ntpstats")
 	ctx.recurse("util")
 	ctx.recurse("tests")
 
-	# These don't have installation productions yet.
-	# Installation for their required Perl and Python libraries
-	# needs to be worked out first. Awkwardly, their man pages do
+	# Some of these presently fail because they require a Perl
+	# module that'ds never installed. Awkwardly, their man pages do
 	# get installed. There is a note about this mess in INSTALL.
 	scripts = [
 		"ntpleapfetch/ntpleapfetch",
@@ -162,7 +163,8 @@ def build(ctx):
 		features    = "subst",
 		source      = scripts,
 		target	    = scripts,
-		chmod	    = Utils.O755
+		chmod	    = Utils.O755,
+		install_path = "${PREFIX}/bin/"
 	)
 
 	ctx.manpage(8, "ntpleapfetch/ntpleapfetch-man.txt")



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/212114f5d3dbd9bb52b196cb69e12f8e8f95cca9
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160816/99d10c53/attachment.html>


More information about the vc mailing list