Clean out the tests before creating distribution archive release-1.2.10
authorSam Lantinga <slouken@libsdl.org>
Wed, 17 May 2006 07:38:34 +0000
changeset 1848 3c5eed71a332
parent 1847 845bcffc0dd8
child 1849 b5a4ac87b98c
Clean out the tests before creating distribution archive
Makefile.in
--- a/Makefile.in	Wed May 17 06:09:27 2006 +0000
+++ b/Makefile.in	Wed May 17 07:38:34 2006 +0000
@@ -158,6 +158,7 @@
 	    -name '*.orig' -o \
 	    -name '.#*' \) \
 	    -exec rm -f {} \;
+	if test -f $(distdir)/test/Makefile; then (cd $(distdir)/test && make distclean); fi
 	tar cvf - $(distdir) | gzip --best >$(distfile)
 	rm -rf $(distdir)