[Git][NTPsec/ntpsec][master] Install manpages to $prefix/man/ not $prefix/

Amar Takhar gitlab at mg.gitlab.com
Wed May 11 13:24:55 UTC 2016


Amar Takhar pushed to branch master at NTPsec / ntpsec


Commits:
6aa2c9dd by Amar Takhar at 2016-05-07T03:45:00-05:00
Install manpages to $prefix/man/ not $prefix/

Fixes #53

- - - - -


2 changed files:

- pylib/asciidoc.py
- pylib/waf.py


Changes:

=====================================
pylib/asciidoc.py
=====================================
--- a/pylib/asciidoc.py
+++ b/pylib/asciidoc.py
@@ -31,4 +31,4 @@ def run_a2x(self, node):
 	out = "%s.%s" % (n_file.replace("-man.txt.man-tmp", ""), self.section)
 	out_n = self.bld.path.find_or_declare(out)
 	tsk = self.create_task('a2x', node, out_n)
-	self.bld.install_files("${PREFIX}/man%s/" % self.section, out_n)
+	self.bld.install_files("${PREFIX}/man/man%s/" % self.section, out_n)


=====================================
pylib/waf.py
=====================================
--- a/pylib/waf.py
+++ b/pylib/waf.py
@@ -57,7 +57,7 @@ def manpage_subst_fun(task, text):
 def manpage(ctx, section, source):
 
 	if ctx.env.NTPS_RELEASE:
-		ctx.install_files("${PREFIX}/man%s/" % section, source.replace("-man.txt", ".%s" % section))
+		ctx.install_files("${PREFIX}/man/man%s/" % section, source.replace("-man.txt", ".%s" % section))
 		return
 
 	if not ctx.env.ENABLE_DOC or ctx.env.DISABLE_MANPAGE:



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/6aa2c9dd5ae24096ab92c141cac9f904a3e996bc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160511/6275fed4/attachment.html>


More information about the vc mailing list