X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/c85541913b99f841de090aacf626bb8f52f7f727..90b89dadb24edfe00ed163ddb9407a48d6f4a9ac:/Makefile.am diff --git a/Makefile.am b/Makefile.am index a9861190..7a752d7d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ ## Process this file with automake to produce Makefile.in. -# Copyright (C) 2001-2012 Free Software Foundation, Inc. +# Copyright (C) 2001-2013 Free Software Foundation, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -32,8 +32,8 @@ EXTRA_DIST = .prev-version .version \ ## version of Bison nearby... BISON = $(top_builddir)/tests/bison BISON_IN = $(top_srcdir)/tests/bison.in -YACC = $(BISON) -y -AM_YFLAGS = -d -v --warnings=all,error --report=all +YACC = $(BISON) -o y.tab.c +AM_YFLAGS = -d -v -Werror -Wall -Wno-yacc --report=all # Initialization before completion by local.mk's. AM_CFLAGS = $(WARN_CFLAGS) @@ -78,12 +78,11 @@ dist-hook: gen-ChangeLog .PHONY: update-b4-copyright update-package-copyright-year update-b4-copyright: - find data -type f \ - | grep -v -E '^data/bison.m4$$' \ - | xargs $(build_aux)/$@ + find $(srcdir)/data -type f \ + | xargs $(srcdir)/build-aux/$@ @echo 'warning: src/parse-gram.[hc] may need to be regenerated.' update-package-copyright-year: - $(build_aux)/$@ configure.ac + $(srcdir)/build-aux/$@ $(srcdir)/configure.ac gen_start_date = 2012-01-16 .PHONY: gen-ChangeLog