summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--maint.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/maint.mk b/maint.mk
index 88448293c..9363baf73 100644
--- a/maint.mk
+++ b/maint.mk
@@ -705,7 +705,9 @@ endef
# the build srcdir, these always-failing programs will run.
# Otherwise, it is too easy to test the wrong programs.
# Note that "false" itself is a symlink to true, so it too will malfunction.
-my-distcheck: $(DIST_ARCHIVES) $(local-check) check
+my-distcheck: $(DIST_ARCHIVES) $(local-check)
+ $(MAKE) syntax-check
+ $(MAKE) check
-rm -rf $(t)
mkdir -p $(t)
GZIP=$(GZIP_ENV) $(AMTAR) -C $(t) -zxf $(distdir).tar.gz