Author: tridge
Date: 2005-07-14 01:11:40 +0000 (Thu, 14 Jul 2005)
New Revision: 8440

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8440

Log:
- 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'

Modified:
   branches/SAMBA_4_0/source/build/smb_build/makefile.pm


Changeset:
Modified: branches/SAMBA_4_0/source/build/smb_build/makefile.pm
===================================================================
--- branches/SAMBA_4_0/source/build/smb_build/makefile.pm       2005-07-14 
00:52:12 UTC (rev 8439)
+++ branches/SAMBA_4_0/source/build/smb_build/makefile.pm       2005-07-14 
01:11:40 UTC (rev 8440)
@@ -548,13 +548,17 @@
 
 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

Reply via email to