155714Skris#!/bin/sh 255714Skris# 355714Skris# clean up the mess that NT makes of my source tree 455714Skris# 555714Skris 6142425Snectarif [ -f makefile -a ! -f Makefile ]; then 7142425Snectar /bin/mv makefile Makefile 855714Skrisfi 955714Skrischmod +x Configure util/* 1055714Skrisecho cleaning 1155714Skris/bin/rm -f `find . -name '*.$$$' -print` 2>/dev/null >/dev/null 1255714Skrisecho 'removing those damn ^M' 1355714Skrisperl -pi -e 's/\015//' `find . -type 'f' -print |grep -v '.obj$' |grep -v '.der$' |grep -v '.gz'` 14142425Snectarmake -f Makefile links 15