mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 04:21:51 +00:00
OS-X fixes from nano
This commit is contained in:
parent
3acb2091ad
commit
56f293d49c
1 changed files with 16 additions and 9 deletions
25
bootstrap
25
bootstrap
|
@ -2,10 +2,17 @@
|
|||
cd `dirname $0`
|
||||
|
||||
if test "$1" = "clean"; then
|
||||
find . -name Makefile.in -print0 | xargs -r0 rm -f
|
||||
find . -name '*~' -type f -print0 | xargs -r0 rm -f
|
||||
find . -name '*.rej' -type f -print0 | xargs -r0 rm -f
|
||||
find . -name '*.orig' -type f -print0 | xargs -r0 rm -f
|
||||
UNAME=`uname`
|
||||
if test $UNAME = OpenBSD || test $UNAME = Darwin ; then
|
||||
ARGS="-0"
|
||||
else
|
||||
ARGS="-r0"
|
||||
fi
|
||||
|
||||
find . -name Makefile.in -print0 | xargs $ARGS rm -f
|
||||
find . -name '*~' -type f -print0 | xargs $ARGS rm -f
|
||||
find . -name '*.rej' -type f -print0 | xargs $ARGS rm -f
|
||||
find . -name '*.orig' -type f -print0 | xargs $ARGS rm -f
|
||||
rm -f aclocal.m4 build-stamp changelog-stamp config.cache config.log \
|
||||
config.status configure configure-stamp install-sh libtool missing \
|
||||
mkinstalldirs quakeforge-config quakeforge.lsm
|
||||
|
@ -13,12 +20,12 @@ if test "$1" = "clean"; then
|
|||
rm -rf autom4te.cache
|
||||
|
||||
cd -
|
||||
find . -name Makefile -print0 | xargs -r0 rm -f
|
||||
find . -name Makefile -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 -r0 rm -f
|
||||
find . -name '*.lo' -type f -print0 | xargs -r0 rm -f
|
||||
find . -name '.libs' -type d -print0 | xargs -r0 rm -rf
|
||||
find . -name '.deps' -type d -print0 | xargs -r0 rm -rf
|
||||
find . -name '*.o' -type f -print0 | xargs $ARGS rm -f
|
||||
find . -name '*.lo' -type f -print0 | xargs $ARGS rm -f
|
||||
find . -name '.libs' -type d -print0 | xargs $ARGS rm -rf
|
||||
find . -name '.deps' -type d -print0 | xargs $ARGS rm -rf
|
||||
exit 0
|
||||
fi
|
||||
# Check libtoolize version, fix for Debian/Woody
|
||||
|
|
Loading…
Reference in a new issue