summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorAkim Demaille <akim@lrde.epita.fr>2013-01-12 16:03:15 +0100
committerAkim Demaille <akim@lrde.epita.fr>2013-04-08 13:39:21 +0200
commit42bcf1ce4440f84e0f308156664d7db833378980 (patch)
treea012d15e8dfda715287c95eb88bbd352df371d78 /Makefile.am
parentde7331a0759815a4e1d5e736aa84e80ef9cd04a0 (diff)
downloadbison-42bcf1ce4440f84e0f308156664d7db833378980.tar.gz
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
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am7
1 files changed, 3 insertions, 4 deletions
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