1#!/bin/sh 2# 3# clean up the mess that NT makes of my source tree 4# 5 6if [ -f makefile -a ! -f Makefile ]; then 7 /bin/mv makefile Makefile 8fi 9chmod +x Configure util/* 10echo cleaning 11/bin/rm -f `find . -name '*.$$$' -print` 2>/dev/null >/dev/null 12echo 'removing those damn ^M' 13perl -pi -e 's/\015//' `find . -type 'f' -print |grep -v '.obj$' |grep -v '.der$' |grep -v '.gz'` 14make -f Makefile links 15