ctdb-build: Allow waf to build rpms without configure first
authorAmitay Isaacs <amitay@gmail.com>
Mon, 23 Jun 2014 02:24:38 +0000 (12:24 +1000)
committerMartin Schwenke <martins@samba.org>
Tue, 24 Jun 2014 05:23:13 +0000 (07:23 +0200)
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/Makefile

index c2ee2ddb96b7977e3715fff7c59525a0c841ecef..9ffce81eb32f5a3bb598c17d8110e236d9b13855 100644 (file)
@@ -32,7 +32,8 @@ distcheck:
        WAFLOCK=.tmplock $(WAF) distcheck
 
 rpm:
-       $(WAF) rpm
+       touch .tmplock
+       WAFLOCK=.tmplock $(WAF) rpm
 
 clean:
        $(WAF) clean