]> git.saurik.com Git - bison.git/blobdiff - Makefile.am
Document named references.
[bison.git] / Makefile.am
index 68d6d8b68c22492954c4204553cec34bedf9a52f..c507cc8e654d87cc9d8270924e620dd30eb0ee37 100644 (file)
@@ -36,6 +36,7 @@ AM_CPPFLAGS =
 BUILT_SOURCES =
 DISTCLEANFILES =
 MOSTLYCLEANFILES =
+SUFFIXES =
 include build-aux/local.mk
 include data/local.mk
 include djgpp/local.mk
@@ -60,3 +61,10 @@ $(top_srcdir)/.version: configure
        echo $(VERSION) > $@-t && mv $@-t $@
 dist-hook:
        echo $(VERSION) > $(distdir)/.tarball-version
+
+.PHONY: update-b4-copyright
+update-b4-copyright:
+       find data -type f                    \
+         | grep -v -E '^data/bison.m4$$'    \
+         | xargs $(build_aux)/$@
+       @echo 'warning: src/parse-gram.[hc] may need to be regenerated.'