From d14b312f44dffbf7b8a9a008127b012514e24951 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 17 May 2006 07:38:34 +0000 Subject: [PATCH] Clean out the tests before creating distribution archive --- Makefile.in | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.in b/Makefile.in index ed096feab..978b2b969 100644 --- a/Makefile.in +++ b/Makefile.in @@ -158,6 +158,7 @@ dist $(distfile): -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)