ctdb-build: Add WAFLOCK magic to manpages target
authorMartin Schwenke <martin@meltin.net>
Fri, 24 Feb 2017 18:51:00 +0000 (05:51 +1100)
committerAmitay Isaacs <amitay@samba.org>
Sun, 26 Feb 2017 22:13:25 +0000 (23:13 +0100)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12595

Without this a top-level "make dist" fails to build the CTDB manpages.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/Makefile

index 23ee780d06236a312c2df0c165eac71c86adc841..10ac9ab73cfacc23c108a1e63aeea55a4f5c2b90 100644 (file)
@@ -28,7 +28,8 @@ show_version:
        @WAFLOCK=.tmplock $(WAF) show_version
 
 manpages:
-       $(WAF) manpages
+       touch .tmplock
+       WAFLOCK=.tmplock $(WAF) manpages
 
 dist:
        touch .tmplock