summaryrefslogtreecommitdiff
path: root/source4/wscript_build
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-10-14 16:24:50 +1100
committerAndrew Tridgell <tridge@samba.org>2010-10-14 07:44:13 +0000
commit3921d6f4d34211f571cb34d748d4cb1e9484e1c9 (patch)
treee3b91bee300ec31e879faf5fed514eb387cfb941 /source4/wscript_build
parentf1f5a23400df03e209fb66848eeef14b75e31a42 (diff)
downloadsamba-3921d6f4d34211f571cb34d748d4cb1e9484e1c9.tar.gz
samba-3921d6f4d34211f571cb34d748d4cb1e9484e1c9.tar.bz2
samba-3921d6f4d34211f571cb34d748d4cb1e9484e1c9.zip
s4-waf: automatically remove stale C and header files
this prevents stale .c and .h files in bin/ from causing build problems Thanks to Thomas Nagy for the example implementation! Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Oct 14 07:44:13 UTC 2010 on sn-devel-104
Diffstat (limited to 'source4/wscript_build')
-rw-r--r--source4/wscript_build1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/wscript_build b/source4/wscript_build
index a4236643e9..d2b6e541c6 100644
--- a/source4/wscript_build
+++ b/source4/wscript_build
@@ -8,6 +8,7 @@ srcdir = ".."
# create separate build groups for building the asn1 and et compiler, then
# building the C from ASN1 and IDL, and finally the main build process
bld.SETUP_BUILD_GROUPS()
+bld.AUTOCLEANUP_STALE_FILES()
bld.SAMBA_MKVERSION('version.h')