summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-14 01:11:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:23:03 -0500
commit5b31da9427d3d0383cb25f85e636244654dbf1b7 (patch)
tree4c44d19ccc1fc2ac0badffd630ad23ec38906736 /source4/build
parentcadcbbb6a38509ad013d7b4c85488ba9d9b6e455 (diff)
downloadsamba-5b31da9427d3d0383cb25f85e636244654dbf1b7.tar.gz
samba-5b31da9427d3d0383cb25f85e636244654dbf1b7.tar.bz2
samba-5b31da9427d3d0383cb25f85e636244654dbf1b7.zip
r8440: - several build farm hosts were failing 'make clean' as the list of
objects was overflowing their command line limits. Fix this by using a find -exec command. It's slower, but should be more portable. - remove generated ASN1 files in 'make clean' (This used to be commit da783f915865c8c5d2e02f927ebbf84719389655)
Diffstat (limited to 'source4/build')
-rw-r--r--source4/build/smb_build/makefile.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm
index 337b3ae907..013140298c 100644
--- a/source4/build/smb_build/makefile.pm
+++ b/source4/build/smb_build/makefile.pm
@@ -548,13 +548,17 @@ proto_test:
clean: delheaders
@echo Removing objects
- @-rm -f $(_ALL_OBJS_OBJS)
+ @-find . -name '*.o' -exec rm -f '{}' \;
@echo Removing binaries
@-rm -f bin/*
@echo Removing dummy targets
@-rm -f bin/.*_*
@echo Removing generated files
@-rm -rf librpc/gen_*
+ @echo Removing generated ASN1 files
+ @-find heimdal/lib/asn1 -name 'asn1_*.[xc]' -exec rm -f '{}' \;
+ @-find heimdal/lib/gssapi -name 'asn1_*.[xc]' -exec rm -f '{}' \;
+ @-find heimdal/lib/hdb -name 'asn1_*.[xc]' -exec rm -f '{}' \;
distclean: clean
-rm -f bin/.dummy