Get the Makefile find command right for boostrap clean.

This commit is contained in:
Bill Currie 2011-01-04 22:25:26 +09:00
parent a85c0713aa
commit a834bff8a3

View file

@ -25,7 +25,7 @@ if test "$1" = "clean"; then
m4/lt~obsolete.m4
cd -
find . \( -path ./tools/gas2masm -o -path ./tools/quaketoascii \) -name Makefile -print0 | xargs $ARGS rm -f
find . \( -path ./tools/gas2masm -o -path ./tools/quaketoascii \) -prune -o -name Makefile -print0 | xargs $ARGS rm -f
find . -name core -print0 | xargs $ARGS rm -f
rm -f RPM/build_rpm RPM/quakeforge.conf RPM/quakeforge.spec RPM/rpmmacros
find . -name '*.o' -type f -print0 | xargs $ARGS rm -f