summaryrefslogtreecommitdiff
path: root/build-aux
Commit message (Collapse)AuthorAgeFilesLines
* misc: require getlineTheophile Ranquet2012-12-051-0/+5
| | | | | * bootstrap.conf: Here, used by src/location.c. * src/getargs.c (long_options): Rename --flags to --feature.
* maint: fix spaces.Akim Demaille2012-07-181-3/+3
| | | | * build-aux/Makefile.am: here.
* maint: Valgrind on OS X.Akim Demaille2012-07-182-2/+84
| | | | | | | | | * configure.ac (VALGRIND_PREBISON): New. * tests/Makefile.am (maintainer-check-valgrind): Use it. * etc/darwin11.4.0.supp: New. * configure.ac, etc/Makefile.am: Use it. * configure.ac: Disable Valgrind on Mac OS X. * README-hacking: Explain why.
* gnulib: updateAkim Demaille2012-07-101-3/+3
| | | | * bootstrap, build-aux/.gitignore, gnulib, m4/.gitignore: update.
* maint: gitignores.Akim Demaille2012-06-261-0/+4
|
* gnulib: update readme-release.Akim Demaille2012-06-071-0/+2
| | | | | * gnulib (readme-release): Now includes the modules it promotes. * bootstrap.conf: Simplify accordingly.
* maint: update release procedureAkim Demaille2012-06-051-0/+1
| | | | | * bootstrap.conf: Request do-release-commit-and-tag and readme-release. * README-hacking: Adjust.
* maint: generate ChangeLog from git logJim Meyering2012-01-242-2/+4
| | | | | | | | | | | | | | | | | | | | | * Makefile.am (gen-ChangeLog): New rule. (dist-hook): Depend on it. (EXTRA_DIST): Distribute the two ChangeLog-* files. * bootstrap.conf (gnulib_modules): Add gitlog-to-changelog. (bootstrap_post_import_hook): Ensure that ChangeLog exists. * build-aux/git-log-fix: New file. * ChangeLog-2012: Renamed ... * ChangeLog: ... from this. * ChangeLog-1998: Renamed ... * OChangeLog: ...from this * .gitignore: Add ChangeLog. (cherry picked from commit 5ef4a3c71cfd6c07e71462944281c284780312c1) Conflicts: Makefile.am bootstrap.conf build-aux/.gitignore
* maint: run "make update-copyright".Akim Demaille2012-01-132-2/+2
|
* gnulib, autoconf: update.Joel E. Denny2011-04-161-0/+2
| | | | | | | | | | | | | | | | | * README-hacking (Updating a submodule): Give advice on how to determine the versions of gnulib and autoconf to which we should update. (Release Procedure): Note that submodules should be updated. * bootstrap.conf (gnulib_modules): Rename pipe to spawn-pipe as suggested in updated gnulib NEWS. * gnulib: Choose a stable snapshot according to advice in Bison's README-hacking. * po/POTFILES.in (lib/pipe.c): Rename to... (lib/spawn-pipe.c): ... this. * src/output.c: Update to include spawn-pipe.h. * submodules/autoconf: Update to latest for improvement in m4.m4 that excludes M4 with buggy strstr. The only other changes to files that we use are copyright updates.
* maint: run "make update-copyright".Joel E. Denny2011-01-022-2/+2
|
* maint: prepare to use date ranges in copyright notices.Joel E. Denny2011-01-021-4/+13
| | | | | | | | | | * README (Copyright statements): New section explaining the range notation. The GNU coding standards require this explanation. I copied ours from coreutils. * build-aux/update-b4-copyright: Revert 2010-06-17 changes that disabled Bison's automated use of ranges. * cfg.mk (update-copyright-env): Likewise. (cherry picked from commit cb3f7f335aa69ba3e6478fea8d4591f4f6d43bc5)
* maint: re-anchor all .gitignore entries.Joel E. Denny2010-10-171-24/+24
| | | | | | | | | | | | | | | | * bootstrap: Copy from gnulib's latest for the fix to automatically anchor entries it constructs. * gnulib: Update to latest just so it has the same bootstrap. * .gitignore, build-aux/.gitignore, doc/.gitignore: * lib/.gitignore, m4/.gitignore, po/.gitignore: * runtime-po/.gitignore: Re-anchor all entries. (cherry picked from commit e503b9cbbebde5e0ecccdcc864969b9a609b940d) Conflicts: build-aux/.gitignore doc/.gitignore src/.gitignore
* Adjust to recent changes to gnulib bootstrap.Paul Eggert2010-10-162-48/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * .cvsignore, build-aux/.cvsignore, doc/.cvsignore, etc/.cvsignore: * examples/calc++/.cvsignore, lib/.cvsignore, m4/.cvsignore: * po/.cvsignore, runtime-po/.cvsignore, src/.cvsignore: * tests/.cvsignore: Remove; I don't use CVS to maintain Bison anymore and don't know of anybody else who does. If someone needs these files, they can resurrect them. * .gitignore, build-aux/.gitignore, doc/.gitignore, lib/.gitignore: * m4/.gitignore, po/.gitignore, runtime-po/.gitignore: Omit leading '/', since bootstrap omits it. Adjust file names to match current contents better. * bootstrap: Sync from gnulib: this contains the new gnulib_mk_hook installed just for us. * bootstrap.conf (excluded_files): Don't exclude codeset.m4, glibc21.m4, inttypes_h.m4, size_max.m4, xsize.m4, as they are now needed somehow. Don't have time to look into why. (gnulib_modules): Change malloc to malloc-gnu. Do we really assume the GNU malloc behavior, where malloc (0) != NULL unless we're out of storage? If not, we can omit malloc-gnu; but for now I left it in to be safe. (vc_ignore): Remove. * README-hacking: Renamed from HACKING, since gnulib bootstrap now uses that convention. (cherry picked from commit 95aed8db15a0bb0f7819bf77586d0cf6812ffdfd) Conflicts: bootstrap build-aux/.cvsignore build-aux/.gitignore doc/.cvsignore doc/.gitignore etc/.cvsignore m4/.cvsignore m4/.gitignore src/.cvsignore src/.gitignore tests/.cvsignore
* Do not use date ranges in copyright notices.Paul Eggert2010-06-231-15/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See http://www.gnu.org/prep/maintain/maintain.html#Copyright-Notices * HACKING, Makefile.am, NEWS, PACKAGING, README, README-alpha: * TODO, bootstrap, bootstrap.conf: * build-aux/update-b4-copyright, cfg.mk, configure.ac: * data/README, data/bison.m4, data/c++-skel.m4, data/c++.m4: * data/c-skel.m4, data/c.m4, data/glr.c, data/glr.cc: * data/java-skel.m4, data/java.m4, data/lalr1.cc: * data/lalr1.java, data/location.cc: * data/xslt/bison.xsl: * data/xslt/xml2dot.xsl, data/xslt/xml2text.xsl: * data/xslt/xml2xhtml.xsl, data/yacc.c, djgpp/Makefile.maint: * djgpp/README.in, djgpp/config.bat, djgpp/config.sed: * djgpp/config.site, djgpp/config_h.sed, djgpp/djunpack.bat: * djgpp/subpipe.c, djgpp/subpipe.h: * djgpp/testsuite.sed, doc/bison.texinfo: * doc/refcard.tex, etc/README, etc/bench.pl.in: * examples/calc++/Makefile.am, examples/extexi: * lib/abitset.c, lib/abitset.h: * lib/bbitset.h, lib/bitset.c, lib/bitset.h: * lib/bitset_stats.c, lib/bitset_stats.h, lib/bitsetv-print.c: * lib/bitsetv-print.h, lib/bitsetv.c, lib/bitsetv.h: * lib/ebitset.c, lib/ebitset.h, lib/get-errno.c: * lib/get-errno.h, lib/lbitset.c, lib/lbitset.h: * lib/libiberty.h, lib/main.c, lib/timevar.c: * lib/timevar.def, lib/timevar.h, lib/vbitset.c: * lib/vbitset.h, lib/yyerror.c, m4/bison-i18n.m4: * m4/c-working.m4, m4/cxx.m4, m4/subpipe.m4, m4/timevar.m4: * src/AnnotationList.c, src/AnnotationList.h: * src/InadequacyList.c, src/InadequacyList.h, src/LR0.c: * src/LR0.h, src/Sbitset.c, src/Sbitset.h, src/assoc.c: * src/assoc.h, src/closure.c, src/closure.h, src/complain.c: * src/complain.h, src/conflicts.c, src/conflicts.h: * src/derives.c, src/derives.h, src/files.c, src/files.h: * src/flex-scanner.h, src/getargs.c, src/getargs.h: * src/gram.c, src/gram.h, src/graphviz.c, src/ielr.c: * src/ielr.h, src/lalr.c, src/lalr.h: * src/location.c, src/location.h, src/main.c: * src/muscle-tab.c, src/muscle-tab.h, src/named-ref.c: * src/named-ref.h, src/nullable.c, src/nullable.h: * src/output.c, src/output.h, src/parse-gram.y: * src/print-xml.c, src/print-xml.h, src/print.c, src/print.h: * src/print_graph.c, src/print_graph.h, src/reader.c: * src/reader.h, src/reduce.c, src/reduce.h, src/relation.c: * src/relation.h, src/scan-code.h, src/scan-code.l: * src/scan-gram.h, src/scan-gram.l, src/scan-skel.h: * src/scan-skel.l, src/state.c, src/state.h, src/symlist.c: * src/symlist.h, src/symtab.c, src/symtab.h, src/system.h: * src/tables.c, src/tables.h, src/uniqstr.c, src/uniqstr.h: * tests/actions.at, tests/atlocal.in, tests/c++.at: * tests/calc.at, tests/conflicts.at, tests/cxx-type.at: * tests/existing.at, tests/glr-regression.at: * tests/headers.at, tests/input.at, tests/java.at: * tests/local.at, tests/named-refs.at: * tests/output.at, tests/push.at, tests/reduce.at: * tests/regression.at, tests/sets.at, tests/skeletons.at: * tests/synclines.at, tests/testsuite.at, tests/torture.at: * data/Makefile.am, data/location.cc, doc/Makefile.am, src/Makefile.am: * tests/Makefile.am, lib/Makefile.am, examples/Makefile.am: * etc/Makefile.am: Don't use date ranges in copyright notices. Copyright (C) 1987, 1988, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
* portability: fix spawning on at least FreeBSD 8 and FreeBSD 9.Joel E. Denny2010-03-232-0/+2
| | | | | | | | | | | | | Reported by Johan van Selst at <http://lists.gnu.org/archive/html/bug-bison/2010-03/msg00014.html>. * NEWS (2.4.3): New. * THANKS (Johan van Selst): Add. * gnulib: Update to latest. (cherry picked from commit 311b2e56eaad952fc7908336e3aeb019dd8bf1ee) Conflicts: NEWS
* maint: automate PACKAGE_COPYRIGHT_YEAR update, and update it.Joel E. Denny2010-01-211-0/+49
| | | | | | | | | * HACKING (Release Procedure): Update notes on copyright years. * Makefile.am (update-package-copyright-year): New target rule. * build-aux/update-package-copyright-year: New file. * cfg.mk (update-copyright): Add update-package-copyright-year as a dependency. (cherry picked from commit af8a609a90c48d1a7e6ea9e31dba4fbad6c7fbed)
* gnulib: update to latest.Joel E. Denny2010-01-192-0/+2
|
* maint: run "make update-copyright"Joel E. Denny2010-01-041-1/+1
|
* portability: use -DGNULIB_POSIXCHECK.Joel E. Denny2009-12-152-0/+2
| | | | | | | | | | | | | | | | | | | | | | Reported by Eric Blake. See discussions at <http://lists.gnu.org/archive/html/bug-bison/2009-09/msg00008.html> and <http://lists.gnu.org/archive/html/bug-gnulib/2009-10/msg00108.html>. * HACKING (Release checks): Suggest -DGNULIB_POSIXCHECK. * bootstrap.conf (gnulib_modules): Add all the printf modules suggested by -DGNULIB_POSIXCHECK. Add realloc-posix as suggested by -DGNULIB_POSIXCHECK for gnulib's own vasnprintf.c. (excluded_files): Remove m4/printf-posix.m4. * tests/atlocal.in (LIBS): As for LDADD in src/Makefile.am, add lib/libbison.a so gnulib libraries can be linked. (cherry picked from commit 5c99151aeb4396bf35b482e27075948c33088afa) Conflicts: lib/.cvsignore lib/.gitignore m4/.cvsignore m4/.gitignore
* maint: fix use of copyright year intervals.Joel E. Denny2009-08-141-15/+17
| | | | | | | | | * gnulib: Update. * bootstrap.conf (gnulib_modules): Update getopt to getopt-gnu as now recommended in gnulib/NEWS. * build-aux/update-b4-copyright: Fix. * cfg.mk (update-copyright-env): Configure update-copyright. (cherry picked from commit 75ac158b82be1fab5157b140287368165a50ec82)
* maint: make update-b4-copyright easier to useJoel E. Denny2009-08-061-10/+15
| | | | | | | | | * build-aux/update-b4-copyright: In warnings, report line numbers rather than character positions. * cfg.mk (update-copyright-local): Set to update-b4-copyright so that update-copyright runs it. * gnulib: Update. (cherry picked from commit a1a9422d4a2f70ff89e06318ba154851c3700f60)
* maint: clean up update-b4-copyright codeJoel E. Denny2009-08-051-49/+70
| | | | | | | | | * build-aux/update-b4-copyright: Do not accept 2-digit UPDATE_COPYRIGHT_YEAR, which was not handled correctly. Don't accept a `[' in a b4_copyright argument. Format code more consistently. Don't assume b4*copyright never occurs. (cherry picked from commit 0b61a8ec1842bfbd6130714d06b758165b32ead4)
* maint: automate b4_copyright updates.Joel E. Denny2009-08-042-1/+125
| | | | | | | | | | | | | | * Makefile.am (update-b4-copyright): New target rule. * build-aux/Makefile.am (EXTRA_DIST): Add update-b4-copyright. * build-aux/update-b4-copyright: New. * data/yacc.c: Remove stray characters around b4_copyright invocations. (cherry picked from commit 269e222e24b03ccc4ab7881d960750ddeb131b05) Conflicts: build-aux/local.mk data/yacc.c
* maint: automate annual package-wide copyright-year update.Joel E. Denny2009-08-042-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | * .x-update-copyright: New. * Makefile.am (EXTRA_DIST): Remove maint.mk. * bootstrap.conf (gnulib_modules): Add maintainer-makefile and update-copyright. Remove gnumakefile, which is implied by maintainer-makefile. * cfg.mk (bootstrap-tools): Copy from old maint.mk. * gnulib: Update. * maint.mk: Remove, now copied from gnulib. * examples/extexi: Add missing "(C)" in copyright statement so update-copyright can recognize it. * src/LR0.h: Likewise. * src/print.h: Likewise. * src/print_graph.h: Likewise. * src/named-ref.c: Likewise. * src/named-ref.h: Likewise. * src/gram.c: Add missing comma in copyright statement. * src/gram.h: Likewise. (cherry picked from commit 50bcb22c4cda30353f44930b0a29519609527408) Conflicts: gnulib src/gram.c
* -F/--force-define and relative %define/-D/--define priorities.Joel E. Denny2009-05-221-1/+5
| | | | | | | | | | | | | | | | | | | | | | * NEWS (2.5): Add documentation to -D/--define entry. * build-aux/cross-options.pl: Hard-code association of --force-define with %define. * doc/bison.texinfo (Decl Summary): In %define entry, cross-reference command-line options. (Bison Options): Add documentation to -D/--define entry. (Option Cross Key): Widen column for --force-define row. * src/getargs.c (usage): Document -F/--force-define. Realign options in output. (short_options, long_options, getargs): Parse -F/--force-define, and update muscle_percent_define_insert invocation. * src/muscle_tab.h (muscle_percent_define_how): New enum type. (muscle_percent_define_insert): Add argument with that type. * src/muscle_tab.c (muscle_percent_define_insert): Implement -F/--force-define behavior and priorities. * src/parse-gram.y (prologue_declaration): Update muscle_percent_define_insert invocations. * tests/input.at (`%define, --define'): Rename to... (`%define, --define, --force-define'): ... this and extend.
* Display the changes in cross-options.texi.Akim Demaille2009-04-061-0/+3
| | | | | | * build-aux/cross-options.pl ($sep): New, to separate items. * doc/Makefile.am ($(srcdir)/cross-options.texi): Use diff to display the changes.
* Improves options in the manual.Di-an Jan2009-04-061-10/+31
| | | | | | | | | | | | | | * doc/bison.texinfo (-g, -x): Add space before argument. (Option Cross Key): Implement FIXME: listing directives also. * build-aux/cross-options.pl: Read from <STDIN> rather than <>. (Short Option): Special case -d. Put arguments inside @option. (Bison Directive): Add column, automatically extracted from src/scan-gram.l (actual name passed as the first argument) with special case for %define. * doc/Makefile.am (doc/cross-options.texi): Pass src/scan-gram.l to build-aux/cross-options.pl. * src/getargs.c (usage): Document limitations of cross-options.pl. * src/scan-gram.l: Likewise.
* Fix options documentation.Joel E. Denny2009-04-061-3/+6
| | | | | | * build-aux/cross-options.pl: As in --help output, write optional arguments as [=ARG] not =[ARG]. * doc/bison.texinfo (Bison Options): Add -W/--warnings argument.
* Handle more general types of option arguments.Akim Demaille2009-04-061-7/+18
| | | | | | | * build-aux/cross-options.pl: The argument ends at the first space, not the first non-symbol character. Use @var for each word appearing the argument description. (cherry picked from commit 74eae918c3bf3772d260cb25777d9a998172a401)
* Help with updating web manual.Joel E. Denny2009-04-032-0/+2
| | | | | * HACKING: Incorporate instructions from gnulib/doc/README. * bootstrap.conf (gnulib_modules): Add gendocs.
* Update several administrative files mainly to facilitate releasing.Joel E. Denny2008-10-182-0/+2
| | | | | | | | | | | | | | | | | | * HACKING (Administrivia): Make the git-merge-changelog notes more helpful. (Test suite): Don't say lalr1.cc is not exercised in the test suite. (Release Procedure): Update for git and add numerous details that were previously missing. * Makefile.am (EXTRA_DIST): Remove Makefile.cfg and Makefile.maint. * maint.mk (announcement): Don't list bison as a bootstrap tool so that announcements don't claim we bootstrapped with whatever bison happened to be in PATH. Add flex as a bootstrap tool. * Makefile.maint: Remove, previously replaced by maint.mk. * Makefile.cfg: Remove, and migrate settings to... * cfg.mk: ... here for the sake of `make announcement'. * bootstrap.conf (gnulib_modules): Add announce-gen. * README: Say GNU Bison instead of just Bison. Suggested by Karl Berry.
* Add .gitignore everywhere based on .cvsignore.Joel E. Denny2008-07-141-0/+16
| | | | | | | | | | | | | | | | * .gitignore: New. * build-aux/.gitignore: New. * data/.gitignore: New. * doc/.gitignore: New. * etc/.gitignore: New. * examples/.gitignore: New. * examples/calc++/.gitignore: New. * lib/.gitignore: New. * m4/.gitignore: New. * po/.gitignore: New. * runtime-po/.gitignore: New. * src/.gitignore: New. * tests/.gitignore: New.
* Fix make dist infinite loop reported by Juan Manuel Guerrero atJoel E. Denny2008-04-211-0/+1
| | | | | | | | | <http://lists.gnu.org/archive/html/bug-bison/2008-01/msg00009.html>. * .cvsignore: Add .version. * .version.in: New. * bootstrap.conf (gnulib_modules): Add git-version-gen. * configure.ac (AC_CONFIG_FILES): Add .version. * build-aux/.cvsignore: Add git-version-gen.
* * src/getargs.c (short_options): Split and sort for readability.Akim Demaille2008-02-281-2/+7
| | | | | | | | -g and -x take optional arguments, just like their long options. * build-aux/cross-options.pl: Use /x to make the regexp easier to understand. Fix the handling of $opt which resulted in all the argument to be considered as optional.
* Accept --report-file=FILE to override the default `.output' filename.Joel E. Denny2007-11-181-1/+1
| | | | | | | | | | | | | | | * NEWS (2.3a+): Mention. * doc/bison.texinfo (Bison Options): Add an entry. * src/files.c (compute_output_file_names): Don't override spec_verbose_file if already set. * src/getargs.c (usage): Document --report-file. (REPORT_FILE_OPTION): New anonymous enum member. (long_options): Add entry for it. (getargs): Add case for it setting spec_verbose_file. * build-aux/cross-options.pl: Don't record a short option just because there's an arg. * doc/.cvsignore: Add yacc.1.
* * build-aux/Makefile.am: Ship cross-options.pl.Akim Demaille2007-11-051-1/+1
| | | | | | * doc/Makefile.am: Always refer to cross-options.texi with $(srcdir). (MAINTAINERCLEANFILES): Add it.
* Generate the long/short option cross-table.Akim Demaille2007-11-041-0/+32
| | | | | | * build-aux/cross-options.pl: New. * doc/Makefile.am (cross-options.texi): New. * doc/bison.texinfo: Use it.
* * build-aux/.cvsignore: Add compile.Joel E. Denny2007-07-171-0/+1
| | | | * lib/.cvsignore: Add ref-add.sed, ref-del.sed, and uniwidth.
* * README-hacking: New file, taken mostly from coreutils, with changesPaul Eggert2007-04-041-2/+0
| | | | | | | | | | | for Bison. Contains much of the contents of: * README-cvs: Remove. * bootstrap: Sync from gnulib. * build-aux/.cvsignore: Remove *.t, mkinstalldirs. * lib/.cvsignore: Add wchar.h, wctype.h. Remove exit.h. SCALAR(0x82833fc) redefinitions.
* * bootstrap: Remove occurrences of .#bootmp from lib/Makefile.Joel E. Denny2007-02-191-0/+1
|
* 2007-01-29 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2007-01-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | * NEWS: Mention java. * TODO: Remove things that are done. * bootstrap.conf: Add javacomp-script and javaexec-script. * configure.ac: Invoke gt_JAVACOMP and gt_JAVAEXEC. * data/Makefile.am: Add new files. * data/java-skel.m4: New. * data/java.m4: New. * data/lalr1.java: New. * doc/bison.texinfo: Put "A Complete C++ Example" under C++ Parsers. Add Java Parsers. Put C++ Parsers and Java Parsers under Other Languages. * src/getargs.c (valid_languages): Add Java. * src/getargs.h (struct bison_language): Update size of string fields. * tests/Makefile.am: Add java.at. * tests/atlocal.in: Add CONF_JAVA and CONF_JAVAC. * tests/java.at: New. * tests/testsuite.at: Include it.
* * bootstrap: Sync from coreutils.Paul Eggert2006-12-181-338/+0
| | | | | | | (gnulib_extra_files): Add build-aux/announce.gen. (slurp): Adjust .gitignore files like .cvsignore files. * build-aux/announce-gen: Remove from CVS, since bootstrap now creates this.
* Finish the transition config -> build-aux.Akim Demaille2005-10-214-0/+354
* configure.ac, Makefile.am: Use build-aux. * config/prev-version, config/announce-gen, config/Makefile.am: Move to... * build-aux/prev-version, build-aux/announce-gen, * build-aux/Makefile.am: here.