changeset 1845:548445edaf9f

(none)
author Sam Lantinga <slouken@libsdl.org>
date Wed, 17 May 2006 04:36:31 +0000
parents ed2f5e31b357
children 699eaff87cbb
files Makefile.in
diffstat 1 files changed, 8 insertions(+), 1 deletions(-) [+]
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)