[Git][NTPsec/ntpsec][master] Cut out the rest of configure when --enable-doc-only is used.
Amar Takhar
gitlab at mg.gitlab.com
Mon Nov 23 19:37:11 UTC 2015
Amar Takhar pushed to branch master at NTPsec / ntpsec
Commits:
78246475 by Amar Takhar at 2015-11-23T14:36:41Z
Cut out the rest of configure when --enable-doc-only is used.
- - - - -
1 changed file:
- pylib/configure.py
Changes:
=====================================
pylib/configure.py
=====================================
--- a/pylib/configure.py
+++ b/pylib/configure.py
@@ -95,6 +95,10 @@ def cmd_configure(ctx):
if not ctx.options.enable_a2x_xmllint:
ctx.env.A2X_FLAGS += ["--no-xmllint"]
+ # The rest is not needed for documentation building.
+ if ctx.options.enable_doc_only:
+ return
+
# Disable manpages within build()
if ctx.options.disable_manpage:
ctx.env.DISABLE_MANPAGE = True
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/78246475b1c8f3ee825c3d52a2c94a9d5f918b0d
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20151123/6b9309ad/attachment.html>
More information about the vc
mailing list