You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
394 B
15 lines
394 B
4 years ago
|
#!/bin/sh
|
||
|
#
|
||
|
# clean up the mess that NT makes of my source tree
|
||
|
#
|
||
|
|
||
|
if [ -f makefile -a ! -f Makefile ]; then
|
||
|
/bin/mv makefile Makefile
|
||
|
fi
|
||
|
chmod +x Configure util/*
|
||
|
echo cleaning
|
||
|
/bin/rm -f `find . -name '*.$$$' -print` 2>/dev/null >/dev/null
|
||
|
echo 'removing those damn ^M'
|
||
|
perl -pi -e 's/\015//' `find . -type 'f' -print |grep -v '.obj$' |grep -v '.der$' |grep -v '.gz'`
|
||
|
make -f Makefile links
|