mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 20:41:20 +00:00
Make bootstrap clean a little smarter.
It doesn't delete config.h[.in] or Makefile in the directories in which they are not generated.
This commit is contained in:
parent
d0370f7cf5
commit
624a1630f3
1 changed files with 3 additions and 3 deletions
|
@ -10,8 +10,8 @@ if test "$1" = "clean"; then
|
|||
fi
|
||||
|
||||
find . -name Makefile.in -print0 | xargs $ARGS rm -f
|
||||
find . -name config.h.in -print0 | xargs $ARGS rm -f
|
||||
find . -name config.h -print0 | xargs $ARGS rm -f
|
||||
find . -path ./tools/texpaint -prune -o -name config.h.in -print0 | xargs $ARGS rm -f
|
||||
find . \( -path ./vc2005 -o -path ./vc2008 \) -prune -o -name config.h -print0 | xargs $ARGS rm -f
|
||||
find . -name stamp-h1 -print0 | xargs $ARGS rm -f
|
||||
find . -name '*~' -type f -print0 | xargs $ARGS rm -f
|
||||
find . -name '*.rej' -type f -print0 | xargs $ARGS rm -f
|
||||
|
@ -23,7 +23,7 @@ if test "$1" = "clean"; then
|
|||
rm -rf autom4te.cache
|
||||
|
||||
cd -
|
||||
find . -name Makefile -print0 | xargs $ARGS rm -f
|
||||
find . \( -path ./tools/gas2masm -o -path ./tools/quaketoascii \) -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
|
||||
|
|
Loading…
Reference in a new issue