To make sure we don't accidentally release anything with
failing syntax-checks, have `make distcheck' run the
syntax-checks automatically.
* Makefile.am (distcheck-hook): New rule depending on
syntax-check.

Signed-off-by: Gary V. Vaughan <g...@gnu.org>
---
 Makefile.am |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 8953b6e..d7e4e8b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -594,6 +594,8 @@ dist-hook: $(changelog) $(dotversion) $(readme)
          else :; fi; \
        done
 
+distcheck-hook: syntax-check
+
 uninstall-hook:
        @$(NORMAL_UNINSTALL)
        @list='$(pkgltdl_files)'; \
-- 
1.7.7.3

Cheers,
-- 
Gary V. Vaughan (gary AT gnu DOT org)

Reply via email to