Browse files

Slight cleanup.

git-svn-id: file://localhost/data1/git/presto_svn/trunk@1076 5fac236c-a0d8-0310-9745-ef116914eda1
  • Loading branch information...
1 parent 3d26a1f commit 4e174a18dc73062c2d4e287a2e4336fffa50a672 @scottransom committed Jan 21, 2005
Showing with 7 additions and 27 deletions.
  1. +7 −27 Makefile
View
34 Makefile
@@ -2,7 +2,6 @@
# Makefile for PRESTO: Pulsar Search Software
# for Unix (and hopefully MPI soon)
# by Scott M. Ransom
-# V 0.94, 16 Nov 01
#
DATE = $(shell date +%d%b%y)
@@ -13,36 +12,17 @@ tags:
cd src ; find ../include -name "*.[ch]" -print | etags -a -
package:
- cd ..; tar -cf presto$(DATE).tar presto
+ cd ..; tar --exclude=.svn -cvf presto$(DATE).tar presto
gzip -9 ../presto$(DATE).tar
mv ../presto$(DATE).tar.gz .
squeaky:
rm -f *~ presto*.tar.gz *#
- cd lib ; rm -f *~ *.o *.a *.so *#
- cd bin ; rm -f *~ *.o *.a *.so *.dat *.fft *.inf *#
- cd src ; rm -f *~ *.o *.a *.so *.dat *.fft *.inf *#
- cd include ; rm -f *~ *.o *.a *.so *.dat *.fft *.inf *#
- cd python ; rm -f *~ *.o *.a *.so *.dat *.fft *.inf *#
- cd docs ; rm -f *~ *.o *.a *.so *.dat *.fft *.inf *#
- cd tests ; rm -f *~ *.o *.a *.so *.dat *.fft *.inf *#
- cd docs ; rm -f *~ *.o *.a *.so *.dat *.fft *.inf *#
- cd clig ; rm -f *~ *.o *.a *.so *.dat *.fft *.inf *#
- cd MPI ; rm -f *~ *.o *.a *.so *.dat *.fft *.inf *#
- cd oldsource ; rm -f *~ *.o *.a *.so *.dat *.fft *.inf *#
+ find . -name "*.[oa]" | xargs rm -f
+ find . -name "*.so" | xargs rm -f
+ find . -name "*.dat" | xargs rm -f
+ find . -name "*.fft" | xargs rm -f
+ find . -name "*.inf" | xargs rm -f
+ find . -name "*[~#]" | xargs rm -f
cd python ; make clean
cd src ; make squeaky
-
-
-
-
-
-
-
-
-
-
-
-
-
-

0 comments on commit 4e174a1

Please sign in to comment.