From 3841fe9de463c4d60e4f7b2057275035675d12f8 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 21 Jul 2026 11:00:44 -0700 Subject: [PATCH] maint: update .gitignore --- .gitignore | 15 +++++++++---- build-aux/.gitignore | 1 - doc/.gitignore | 13 ++--------- examples/.gitignore | 13 +++++++++++ examples/c++/.gitignore | 4 ++++ examples/c++/calc++/.gitignore | 17 -------------- examples/c/mfcalc/.gitignore | 9 -------- examples/c/reccalc/.gitignore | 3 +-- examples/c/rpcalc/.gitignore | 5 ----- gnulib-po/.gitignore | 1 - lib/.gitignore | 41 +++++++++++++++++++++------------- m4/.gitignore | 12 +++++++--- po/.gitignore | 1 - runtime-po/.gitignore | 1 - src/.gitignore | 5 ----- tests/.gitignore | 1 - 16 files changed, 65 insertions(+), 77 deletions(-) create mode 100644 examples/.gitignore diff --git a/.gitignore b/.gitignore index 8e0c919e..8f99f11b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,10 +1,19 @@ +*.a +*.bak +*.diff +*.exe *.log *.o +*.orig +*.out +*.output *.pdf +*.rej *.stamp +*.tmp *.trs *~ -.deps +.deps/ .dirstamp /*.cache /*.flc @@ -20,11 +29,9 @@ /Makefile.in /README-release /_* -/a.exe -/a.out /aclocal.m4 -/b.out /bison-* +/build-aux/move-if-change /conf[0-9]* /confdefs* /config.log diff --git a/build-aux/.gitignore b/build-aux/.gitignore index d3a1fa96..5e4e4cc5 100644 --- a/build-aux/.gitignore +++ b/build-aux/.gitignore @@ -3,7 +3,6 @@ /config.guess /config.libpath /config.rpath -/config.rpath~ /config.sub /depcomp /do-release-commit-and-tag diff --git a/doc/.gitignore b/doc/.gitignore index f70e9756..b2492da2 100644 --- a/doc/.gitignore +++ b/doc/.gitignore @@ -8,27 +8,18 @@ #/bison.cp #/bison.cps #/bison.toc - -/*~ -/.dirstamp +*.dvi +*.ps /bison.1 -/bison.dvi /bison.help /bison.html /bison.info -/bison.info.bak -/bison.log -/bison.pdf -/bison.ps /cross-options.texi /figs/*.eps /figs/*.svg /gendocs_template /gendocs_template_min /gpl-3.0.texi -/refcard.dvi -/refcard.log -/refcard.ps /relocatable.texi /stamp-vti /version.texi diff --git a/examples/.gitignore b/examples/.gitignore new file mode 100644 index 00000000..66baf4ba --- /dev/null +++ b/examples/.gitignore @@ -0,0 +1,13 @@ +*.c +*.cc +*.class +*.h +*.hh +!/c++/glr/ast.hh +*.java +*.ll +/c/bistromathic/bistromathic +/c/calc/calc +/c/glr/c++-types +/c/lexcalc/lexcalc +/c/pushcalc/calc diff --git a/examples/c++/.gitignore b/examples/c++/.gitignore index 85bf7528..fe147de5 100644 --- a/examples/c++/.gitignore +++ b/examples/c++/.gitignore @@ -1 +1,5 @@ +/glr/c++-types +/simple /simple.yy +/variant +/variant-11 diff --git a/examples/c++/calc++/.gitignore b/examples/c++/calc++/.gitignore index 9c74fd08..90e67703 100644 --- a/examples/c++/calc++/.gitignore +++ b/examples/c++/calc++/.gitignore @@ -1,19 +1,2 @@ -/*.o -/*.tmp -/.deps /calc++ -/calc++.cc -/calc++.exe -/calc.stamp -/driver.cc -/driver.hh -/location.hh -/parser.cc -/parser.hh -/parser.output -/parser.stamp /parser.yy -/position.hh -/scanner.cc -/scanner.ll -/stack.hh diff --git a/examples/c/mfcalc/.gitignore b/examples/c/mfcalc/.gitignore index 6f05a040..8f7e5287 100644 --- a/examples/c/mfcalc/.gitignore +++ b/examples/c/mfcalc/.gitignore @@ -1,11 +1,2 @@ -/*.o -/*.tmp -/.deps -/calc.h /mfcalc -/mfcalc.c -/mfcalc.exe -/mfcalc.h -/mfcalc.output -/mfcalc.stamp /mfcalc.y diff --git a/examples/c/reccalc/.gitignore b/examples/c/reccalc/.gitignore index ebb52741..a0292ed4 100644 --- a/examples/c/reccalc/.gitignore +++ b/examples/c/reccalc/.gitignore @@ -1,2 +1 @@ -/scan.c -/scan.h +/reccalc diff --git a/examples/c/rpcalc/.gitignore b/examples/c/rpcalc/.gitignore index 7e8a2f01..354314cd 100644 --- a/examples/c/rpcalc/.gitignore +++ b/examples/c/rpcalc/.gitignore @@ -1,7 +1,2 @@ -/calc.h /rpcalc -/rpcalc.c -/rpcalc.h -/rpcalc.output -/rpcalc.stamp /rpcalc.y diff --git a/gnulib-po/.gitignore b/gnulib-po/.gitignore index 36794910..9cbe130a 100644 --- a/gnulib-po/.gitignore +++ b/gnulib-po/.gitignore @@ -17,5 +17,4 @@ /quot.sed /remove-potcdate.sed /remove-potcdate.sin -/remove-potcdate.sin~ /stamp-po diff --git a/lib/.gitignore b/lib/.gitignore index 02b02e74..d6f8abb8 100644 --- a/lib/.gitignore +++ b/lib/.gitignore @@ -1,9 +1,3 @@ -/*.a -/*.bak -/*.o -/*~ -/.deps -/.dirstamp /_Noreturn.h /access.c /alloca.h @@ -27,8 +21,6 @@ /basename.c /binary-io.c /binary-io.h -/bitrotate.c -/bitrotate.h /bitset.c /bitset.h /bitset/ @@ -39,7 +31,6 @@ /c-ctype.h /c-strcase.h /c-strcasecmp.c -/c-strcaseeq.h /c-strncasecmp.c /c-strtod.c /c-strtod.h @@ -226,10 +217,6 @@ /iconv_open-aix.h /iconv_open-hpux.gperf /iconv_open-hpux.h -/iconv_open-irix.gperf -/iconv_open-irix.h -/iconv_open-osf.gperf -/iconv_open-osf.h /iconv_open-solaris.gperf /iconv_open-solaris.h /iconv_open-zos.gperf @@ -243,6 +230,7 @@ /intprops.h /inttypes.h /inttypes.in.h +/isinf.c /isnan.c /isnand-nolibm.h /isnand.c @@ -250,6 +238,8 @@ /isnanf.c /isnanl-nolibm.h /isnanl.c +/issymlink.c +/issymlink.h /iswblank.c /iswdigit.c /iswpunct.c @@ -279,8 +269,6 @@ /mbchar.h /mbfile.c /mbfile.h -/mbiterf.c -/mbiterf.h /mbrtoc32.c /mbrtowc-impl-utf8.h /mbrtowc-impl.h @@ -292,8 +280,11 @@ /mbszero.c /mbtowc-lock.c /mbtowc-lock.h +/mcel.c +/mcel.h /memchr.c /memchr.valgrind +/memeq.c /mempcpy.c /memrchr.c /minmax.h @@ -337,6 +328,7 @@ /pthread-once.c /pthread.h /pthread.in.h +/pthread_sigmask.c /quote.h /quotearg.c /quotearg.h @@ -370,6 +362,8 @@ /sig-handler.c /sig-handler.h /sigaction.c +/sigdelay.c +/sigdelay.h /signal.h /signal.in.h /signbitd.c @@ -404,14 +398,21 @@ /stat-w32.c /stat-w32.h /stat.c +/stdbit.h +/stdbit.in.h /stdbool.h +/stdc_rotate_left.c +/stdc_rotate_right.c /stdckdint.h /stdckdint.in.h +/stdcountof.h +/stdcountof.in.h /stddef.h /stddef.in.h /stdint.h /stdint.in.h /stdio--.h +/stdio-consolesafe.c /stdio-impl.h /stdio-read.c /stdio-safer.h @@ -426,7 +427,8 @@ /strchrnul.c /strchrnul.valgrind /strdup.c -/streq.h +/streq-opt.h +/streq.c /strerror-override.c /strerror-override.h /strerror.c @@ -438,6 +440,7 @@ /stripslash.c /strndup.c /strnlen.c +/strnul.c /strtod.c /strverscmp.c /sys/ @@ -452,6 +455,10 @@ /termios.in.h /textstyle.h /textstyle.in.h +/thread-creators.gperf +/thread-creators.h +/thread-optim-proto.c +/thread-optim.c /thread-optim.h /time.h /time.in.h @@ -520,6 +527,8 @@ /windows-rwlock.h /windows-spawn.c /windows-spawn.h +/windows-spin.c +/windows-spin.h /windows-tls.c /windows-tls.h /xalloc-die.c diff --git a/m4/.gitignore b/m4/.gitignore index fdbb1f9d..2e1a5b04 100644 --- a/m4/.gitignore +++ b/m4/.gitignore @@ -1,4 +1,3 @@ -/*~ /00gnulib.m4 /__inline.m4 /absolute-header.m4 @@ -15,6 +14,7 @@ /calloc.m4 /canonicalize.m4 /chdir-long.m4 +/check-math-lib.m4 /clock_time.m4 /close.m4 /closedir.m4 @@ -39,7 +39,6 @@ /extensions-aix.m4 /extensions.m4 /extern-inline.m4 -/extern-inline.m4~ /fatal-signal.m4 /fchdir.m4 /fclose.m4 @@ -76,6 +75,7 @@ /getprogname.m4 /getrusage.m4 /gettext.m4 +/gettext_h.m4 /gettime.m4 /gettimeofday.m4 /glibc2.m4 @@ -102,6 +102,7 @@ /inttypes-pri.m4 /inttypes.m4 /inttypes_h.m4 +/isinf.m4 /isnan.m4 /isnand.m4 /isnanf.m4 @@ -121,6 +122,7 @@ /lib-ld.m4 /lib-link.m4 /lib-prefix.m4 +/libdl.m4 /libtextstyle-optional.m4 /libtextstyle.m4 /libunistring-base.m4 @@ -140,13 +142,13 @@ /math_h.m4 /mbchar.m4 /mbfile.m4 -/mbiter.m4 /mbrtoc32.m4 /mbrtowc.m4 /mbsinit.m4 /mbstate_t.m4 /mbswidth.m4 /memchr.m4 +/memeq.m4 /mempcpy.m4 /memrchr.m4 /minmax.m4 @@ -185,6 +187,7 @@ /pthread-spin.m4 /pthread_h.m4 /pthread_rwlock_rdlock.m4 +/pthread_sigmask.m4 /quote.m4 /quotearg.m4 /raise.m4 @@ -220,7 +223,9 @@ /stat.m4 /std-gnu11.m4 /stdalign.m4 +/stdbit_h.m4 /stdckdint_h.m4 +/stdcountof_h.m4 /stddef_h.m4 /stdint.m4 /stdint_h.m4 @@ -230,6 +235,7 @@ /stpncpy.m4 /strchrnul.m4 /strdup.m4 +/streq.m4 /strerror.m4 /strerror_r.m4 /string_h.m4 diff --git a/po/.gitignore b/po/.gitignore index 532c3d09..8b3a8fd7 100644 --- a/po/.gitignore +++ b/po/.gitignore @@ -1,6 +1,5 @@ /*.gmo /*.po -/*~ /.reference /LINGUAS /Makefile diff --git a/runtime-po/.gitignore b/runtime-po/.gitignore index 6ec53e98..3c62dcba 100644 --- a/runtime-po/.gitignore +++ b/runtime-po/.gitignore @@ -1,6 +1,5 @@ /*.gmo /*.po -/*~ /.reference /LINGUAS /Makefile diff --git a/src/.gitignore b/src/.gitignore index 87447466..04fe94a1 100644 --- a/src/.gitignore +++ b/src/.gitignore @@ -1,9 +1,4 @@ /*.flc -/*.log -/*.o -/*.output -/.deps -/.dirstamp /bison /bison.exe /scan-code.c diff --git a/tests/.gitignore b/tests/.gitignore index 30d68408..7ecea087 100644 --- a/tests/.gitignore +++ b/tests/.gitignore @@ -1,4 +1,3 @@ -/*.output /atconfig /atlocal /bison