home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
-
- # shell script for removing all extra files
- # should be run before re tar and compress for
- # sending over modems
- # WARNING! this removes all backup files (files that start with "~"
- for i in *
- do
- if [ -d $i ]
- then
- cd "$i"
- if [ -f Makefile ]
- then
- echo "makeing clean in $i"
- make clean
- ls *~
- rm -f *~
- fi
- cd ..
- fi
- done
-