changeset 1848:3c5eed71a332 release-1.2.10

Clean out the tests before creating distribution archive
author Sam Lantinga <slouken@libsdl.org>
date Wed, 17 May 2006 07:38:34 +0000
parents 845bcffc0dd8
children b5a4ac87b98c
files Makefile.in
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)