From 0fa2536957dfd24ee676cc8b621bcdf166317635 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Tue, 30 Jul 2013 15:24:49 -0400 Subject: Makefile: validate generated files as part of build For example... $ make GEN checkpkg GEN commitpkg GEN archco archco: line 179: unexpected EOF while looking for matching `"' archco: line 181: syntax error: unexpected end of file make: *** [archco] Error 2 Signed-off-by: Dave Reisner Signed-off-by: Pierre Schmitz --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 674d656..c7e8064 100644 --- a/Makefile +++ b/Makefile @@ -77,6 +77,7 @@ edit = sed -e "s|@pkgdatadir[@]|$(DESTDIR)$(PREFIX)/share/devtools|g" @m4 -P $@.in | $(edit) >$@ @chmod a-w "$@" @chmod +x "$@" + @bash -O extglob -n "$@" clean: rm -f $(BINPROGS) bash_completion zsh_completion -- cgit v1.2.3-54-g00ecf