r25697: make *clean doesn't work after a svn up when some *.mk files were removed
authorStefan Metzmacher <metze@samba.org>
Thu, 18 Oct 2007 11:27:48 +0000 (13:27 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 21 Dec 2007 04:43:19 +0000 (05:43 +0100)
commitdf3f31d2d57d86144c36dbedec6d322857847285
treed23f86a8010a2cc50d5040475161dc9056e3a912
parente77a8313195d3ec1917de6c1020355cecc31d10f
r25697: make *clean doesn't work after a svn up when some *.mk files were removed

the error is:
SAMBA_4_0/source> make clean
make: *** No rule to make target `lib/ldb/samba/config.mk', needed by `Makefile'.  Stop.

the problem is:
Makefile: config.status $(MK_FILES)
./config.status

so now we let the MK_FILES variable empty for the *clean targets
if gnu make is detected, we should later test if this construct
is portable to other make implementations and remove the check for gnu make.

metze
(This used to be commit 4c8e539af1e8f14bb449c92db3376dec12344e5b)
source4/build/smb_build/env.pm
source4/build/smb_build/makefile.pm