summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.maint5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile.maint b/Makefile.maint
index f0bc2d6cd..e8e6842fa 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -49,7 +49,6 @@ null_AM_MAKEFLAGS = \
t=./=test
my-distcheck: writable-files po-check
-
-rm -rf $(t)
mkdir $(t)
GZIP=$(GZIP) $(AMTAR) -C $(t) -zxf $(distdir).tar.gz
@@ -61,8 +60,8 @@ my-distcheck: writable-files po-check
AM_MAKEFLAGS='$(null_AM_MAKEFLAGS)' \
&& $(MAKE) dvi \
&& $(MAKE) check \
- && rm -rf $(DEPDIR) \
- && $(MAKE) distclean
+ && $(MAKE) distclean \
+ && rm -rf $(DEPDIR)
cd $(t) && mv $(distdir) $(distdir).old \
&& $(AMTAR) -zxf ../$(distdir).tar.gz
diff -ur $(t)/$(distdir).old $(t)/$(distdir)