1998-12-21 10:52:47 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# clean up the mess that NT makes of my source tree
|
|
|
|
#
|
|
|
|
|
2004-03-30 16:58:44 +00:00
|
|
|
if [ -f makefile -a ! -f Makefile ]; then
|
|
|
|
/bin/mv makefile Makefile
|
1998-12-21 10:52:47 +00:00
|
|
|
fi
|
|
|
|
chmod +x Configure util/*
|
|
|
|
echo cleaning
|
|
|
|
/bin/rm -f `find . -name '*.$$$' -print` 2>/dev/null >/dev/null
|
|
|
|
echo 'removing those damn ^M'
|
1998-12-21 10:56:39 +00:00
|
|
|
perl -pi -e 's/\015//' `find . -type 'f' -print |grep -v '.obj$' |grep -v '.der$' |grep -v '.gz'`
|
2004-03-30 16:58:44 +00:00
|
|
|
make -f Makefile links
|