[ntpsec-main commit] Only build manpages if A2X exists.

Amar Takhar amar at ntpsec.org
Fri Nov 13 03:46:56 UTC 2015


Module:    ntpsec-main
Branch:    master
Commit:    957ae73dc334ef3f92114a8791b317e53b99ffe9
Changeset: http://git.ntpsec.org//commit/?id=957ae73dc334ef3f92114a8791b317e53b99ffe9

Author:    Amar Takhar <verm at darkbeer.org>
Date:      Thu Nov 12 22:46:45 2015 -0500

Only build manpages if A2X exists.

---

 pylib/waf.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/pylib/waf.py b/pylib/waf.py
index 88e7e4c..49cb5a2 100644
--- a/pylib/waf.py
+++ b/pylib/waf.py
@@ -55,6 +55,10 @@ def manpage_subst_fun(task, text):
 
 @conf
 def manpage(ctx, section, source):
+
+	if not ctx.env.BIN_A2X:
+		return
+
 	ctx(
 		features    = "subst",
 		source      = source,



More information about the vc mailing list