From d0a313900c7b47eea29d91206dbde9e8e43ef9fe Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 28 Oct 2015 12:49:11 -0400 Subject: Makefile.am: Check syntax of each source file --- (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 4c0010a..08de33a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -23,7 +23,12 @@ firman_SOURCES = # Hack to work around Automake's lack of support for linking programs in other # languages. firman_LDADD = config.sh $(firman_SOURCES) -firman_LINK = '$(srcdir)/tools/shld.sh' -I '$(SH)' -o $@ +firman_LINK = \ + set -e; \ + for f in $(firman_LDADD); do \ + $(SH) -n "$${f}"; \ + done; \ + '$(srcdir)/tools/shld.sh' -I '$(SH)' -o $@ EXTRA_DIST = \ autogen.sh -- cgit v0.9.1