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)