From 3921d6f4d34211f571cb34d748d4cb1e9484e1c9 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 14 Oct 2010 16:24:50 +1100 Subject: 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 Autobuild-Date: Thu Oct 14 07:44:13 UTC 2010 on sn-devel-104 --- source4/wscript_build | 1 + 1 file changed, 1 insertion(+) (limited to 'source4') 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') -- cgit