diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-10-14 16:24:50 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-10-14 07:44:13 +0000 |
commit | 3921d6f4d34211f571cb34d748d4cb1e9484e1c9 (patch) | |
tree | e3b91bee300ec31e879faf5fed514eb387cfb941 /source4/wscript_build | |
parent | f1f5a23400df03e209fb66848eeef14b75e31a42 (diff) | |
download | samba-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_build | 1 |
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') |