diff options
author | Dave Reisner <dreisner@archlinux.org> | 2013-07-30 21:24:49 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2013-08-08 21:28:19 +0200 |
commit | 0fa2536957dfd24ee676cc8b621bcdf166317635 (patch) | |
tree | 1c5bd76e9d13ec312bd4ff810d896bae21de095f | |
parent | be3c71fa81e6d35a1fae0612a8b7b4b613d7d2f6 (diff) | |
download | devtools-0fa2536957dfd24ee676cc8b621bcdf166317635.tar.gz devtools-0fa2536957dfd24ee676cc8b621bcdf166317635.tar.xz |
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 <dreisner@archlinux.org>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |