diff Makefile.in @ 1845:548445edaf9f

(none)
author Sam Lantinga <slouken@libsdl.org>
date Wed, 17 May 2006 04:36:31 +0000
parents 92354d20a3ce
children 699eaff87cbb
line wrap: on
line diff
--- a/Makefile.in	Wed May 17 04:21:33 2006 +0000
+++ b/Makefile.in	Wed May 17 04:36:31 2006 +0000
@@ -150,7 +150,14 @@
 	tar cf - $(DIST) | (cd $(distdir); tar xf -)
 	cp $(distdir)/include/SDL_config.h.default $(distdir)/include/SDL_config.h
 	rm -rf `find $(distdir) -name .svn`
-	rm -f `find $(distdir) -name '.#*'`
+	find $(srcdir) \( \
+	    -name '*~' -o \
+	    -name '*.bak' -o \
+	    -name '*.old' -o \
+	    -name '*.rej' -o \
+	    -name '*.orig' -o \
+	    -name '.#*' \) \
+	    -exec rm -f {} \;
 	tar cvf - $(distdir) | gzip --best >$(distfile)
 	rm -rf $(distdir)