waf: make all generators depend on their rules
authorAndrew Tridgell <tridge@samba.org>
Wed, 8 Dec 2010 04:03:35 +0000 (15:03 +1100)
committerAndrew Tridgell <tridge@samba.org>
Wed, 8 Dec 2010 04:26:06 +0000 (05:26 +0100)
this ensures we rebuild when a constructed rule changes

buildtools/wafsamba/wafsamba.py

index fc75def98dc66e3465f72fc85dce01a08635535e..3ce44559292162e5e0c490407c99ab43114f3ac6 100644 (file)
@@ -520,6 +520,8 @@ def SAMBA_GENERATOR(bld, name, rule, source='', target='',
         on_results=True,
         before='cc',
         ext_out='.c',
+        samba_type='GENERATOR',
+        vars = [rule],
         name=name)
 
     if always: