Makefile.in
changeset 1845 548445edaf9f
parent 1774 92354d20a3ce
child 1846 699eaff87cbb
--- 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)