Clean out the tests before creating distribution archive

This commit is contained in:
Sam Lantinga 2006-05-17 07:38:34 +00:00
parent a13c34cfef
commit fd42c511e8

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)