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