From: Akim Demaille Date: Sat, 12 Jan 2013 15:03:15 +0000 (+0100) Subject: build: fix VPATH issue X-Git-Tag: v2.7.1~4 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/42bcf1ce4440f84e0f308156664d7db833378980 build: fix VPATH issue * Makefile.am (update-b4-copyright, update-package-copyright-year): Fix path to build-aux. (cherry picked from commit f6df83b4e80b2a53c08b5dc654e247076a3b9b03) Conflicts: Makefile.am --- diff --git a/Makefile.am b/Makefile.am index aed166e6..16d1275a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -56,12 +56,11 @@ dist-hook: gen-ChangeLog .PHONY: update-b4-copyright update-package-copyright-year update-b4-copyright: - $(AM_V_GEN) find data -type f \ - | grep -v -E '^data/bison.m4$$' \ - | xargs $(build_aux)/$@ + $(AM_V_GEN)find $(srcdir)/data -type f \ + | xargs $(srcdir)/build-aux/$@ @echo 'warning: src/parse-gram.[hc] may need to be regenerated.' update-package-copyright-year: - $(AM_V_GEN)$(build_aux)/$@ configure.ac + $(AM_V_GEN)$(srcdir)/build-aux/$@ $(srcdir)/configure.ac gen_start_date = 2012-01-16 .PHONY: gen-ChangeLog