Clean out the tests before creating distribution archive

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401809
This commit is contained in:
Sam Lantinga 2006-05-17 07:38:34 +00:00
parent c1d479762f
commit 851c3b8fbb

View file

@ -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)