[Git][NTPsec/ntpsec][master] --path-doc -> --htmldir

Eric S. Raymond gitlab at mg.gitlab.com
Sat Dec 3 05:02:09 UTC 2016


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


Commits:
f9d84473 by Eric S. Raymond at 2016-12-03T00:01:17-05:00
--path-doc -> --htmldir

- - - - -


2 changed files:

- wafhelpers/configure.py
- wafhelpers/options.py


Changes:

=====================================
wafhelpers/configure.py
=====================================
--- a/wafhelpers/configure.py
+++ b/wafhelpers/configure.py
@@ -109,7 +109,7 @@ def cmd_configure(ctx, config):
                 ctx.env.ASCIIDOC_FLAGS = ["-f", "%s/docs/asciidoc.conf" % ctx.srcnode.abspath()]
                 ctx.env.ENABLE_DOC_ONLY = ctx.options.enable_doc_only
                 ctx.env.ENABLE_DOC_USER = ctx.options.enable_doc
-                ctx.env.HTMLDIR = ctx.options.path_doc
+                ctx.env.HTMLDIR = ctx.options.htmldir
 
         # XXX: conditionally build this with --disable-man?  Should it build without docs enabled?
         ctx.env.A2X_FLAGS = ["--format", "manpage", "--asciidoc-opts=--conf-file=%s/docs/asciidoc.conf" % ctx.srcnode.abspath()]


=====================================
wafhelpers/options.py
=====================================
--- a/wafhelpers/options.py
+++ b/wafhelpers/options.py
@@ -53,7 +53,7 @@ def options_cmd(ctx, config):
 	grp.add_option('--enable-doc-only', action='store_true', default=False, help="Only build NTP documentation")
 	grp.add_option('--enable-a2x-xmllint', action='store_true', default=False, help="Build NTP documentation with a2x XML lint")
 	grp.add_option('--disable-manpage', action='store_true', default=False, help="Disable Manpage building.")
-	grp.add_option('--path-doc', type='string', action='store', default=None, help="Force HTML installation directory.")
+	grp.add_option('--htmldir', type='string', action='store', default=None, help="Force HTML installation directory.")
 	grp.add_option('--mandir', type='string', action='store', default=None, help="Force man page installation directory.")
 
 	grp = ctx.add_option_group("Not for general use")



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/f9d84473733a9fe1e3b501278d323317520fdf0c
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20161203/d48ef3e5/attachment.html>


More information about the vc mailing list