From 851c3b8fbb36555e70b1a1043b0b003fe6cd1514 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 --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401809 --- 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)