maint.mk: my-distcheck runs $(MAKE) syntax-check once again
authorJim Meyering <meyering@redhat.com>
Sun, 8 Jun 2008 10:33:28 +0000 (12:33 +0200)
committerJim Meyering <meyering@redhat.com>
Sun, 8 Jun 2008 10:33:28 +0000 (12:33 +0200)
* maint.mk (my-distcheck): Run $(MAKE) syntax-check once again.
Run "$(MAKE) check" _after_ the less expensive syntax-check.

maint.mk

index 8844829..9363baf 100644 (file)
--- 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