maint: re-anchor all .gitignore entries.

* 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.
This commit is contained in:
Joel E. Denny
2010-10-17 10:18:26 -04:00
parent 8ff146cd31
commit e503b9cbbe
11 changed files with 520 additions and 495 deletions

54
.gitignore vendored
View File

@@ -1,32 +1,32 @@
.tarball-version
.version
/*.cache /*.cache
/*.flc /*.flc
/*.prj /*.prj
/*~ /*~
/.tarball-version
/.version
/ABOUT-NLS
/COPYING
/GNUmakefile
/INSTALL
/Makefile
/Makefile.in
/_* /_*
ABOUT-NLS /a.exe
COPYING /a.out
GNUmakefile /aclocal.m4
INSTALL /b.out
Makefile /bison-*
Makefile.in /conf[0-9]*
a.exe /confdefs*
a.out /config.log
aclocal.m4 /config.status
b.out /configure
bison-* /configure.lineno
conf[0-9]* /conftest*
confdefs* /gnulib
config.log /javacomp.sh
config.status /javaexec.sh
configure /maint.mk
configure.lineno /patches
conftest* /releases
gnulib /stamp-h*
javacomp.sh
javaexec.sh
maint.mk
patches
releases
stamp-h*

View File

@@ -1,3 +1,13 @@
2010-10-17 Joel E. Denny <joeldenny@joeldenny.org>
maint: re-anchor all .gitignore entries.
* 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.
2010-10-08 Paul Eggert <eggert@cs.ucla.edu> 2010-10-08 Paul Eggert <eggert@cs.ucla.edu>
Fix portability problem on OpenBSD 4.7. Fix portability problem on OpenBSD 4.7.

View File

@@ -261,6 +261,21 @@ insert_sorted_if_absent() {
|| exit 1 || exit 1
} }
# Adjust $PATTERN for $VC_IGNORE_FILE and insert it with
# insert_sorted_if_absent.
insert_vc_ignore() {
vc_ignore_file="$1"
pattern="$2"
case $vc_ignore_file in
*.gitignore)
# A .gitignore entry that does not start with `/' applies
# recursively to subdirectories, so prepend `/' to every
# .gitignore entry.
pattern=`echo "$pattern" | sed s,^,/,`;;
esac
insert_sorted_if_absent "$vc_ignore_file" "$pattern"
}
# Die if there is no AC_CONFIG_AUX_DIR($build_aux) line in configure.ac. # Die if there is no AC_CONFIG_AUX_DIR($build_aux) line in configure.ac.
found_aux_dir=no found_aux_dir=no
grep '^[ ]*AC_CONFIG_AUX_DIR(\['"$build_aux"'\])' configure.ac \ grep '^[ ]*AC_CONFIG_AUX_DIR(\['"$build_aux"'\])' configure.ac \
@@ -279,7 +294,7 @@ if test ! -d $build_aux; then
mkdir $build_aux mkdir $build_aux
for dot_ig in x $vc_ignore; do for dot_ig in x $vc_ignore; do
test $dot_ig = x && continue test $dot_ig = x && continue
insert_sorted_if_absent $dot_ig $build_aux insert_vc_ignore $dot_ig $build_aux
done done
fi fi
@@ -565,7 +580,7 @@ symlink_to_dir()
for dot_ig in x $vc_ignore; do for dot_ig in x $vc_ignore; do
test $dot_ig = x && continue test $dot_ig = x && continue
ig=$parent/$dot_ig ig=$parent/$dot_ig
insert_sorted_if_absent $ig `echo "$dst_dir"|sed 's,.*/,,'` insert_vc_ignore $ig `echo "$dst_dir"|sed 's,.*/,,'`
done done
fi fi
@@ -725,7 +740,7 @@ slurp() {
test $dot_ig = x && continue test $dot_ig = x && continue
ig=$dir/$dot_ig ig=$dir/$dot_ig
if test -n "$copied"; then if test -n "$copied"; then
insert_sorted_if_absent $ig "$copied" insert_vc_ignore $ig "$copied"
# If an ignored file name ends with .in.h, then also add # If an ignored file name ends with .in.h, then also add
# the name with just ".h". Many gnulib headers are generated, # the name with just ".h". Many gnulib headers are generated,
# e.g., stdint.in.h -> stdint.h, dirent.in.h ->..., etc. # e.g., stdint.in.h -> stdint.h, dirent.in.h ->..., etc.
@@ -738,12 +753,12 @@ slurp() {
s/\.gperf$/.h/ s/\.gperf$/.h/
' '
` `
insert_sorted_if_absent $ig "$f" insert_vc_ignore $ig "$f"
# For files like sys_stat.in.h and sys_time.in.h, record as # For files like sys_stat.in.h and sys_time.in.h, record as
# ignorable the directory we might eventually create: sys/. # ignorable the directory we might eventually create: sys/.
f=`echo "$copied"|sed 's/sys_.*\.in\.h$/sys/'` f=`echo "$copied"|sed 's/sys_.*\.in\.h$/sys/'`
insert_sorted_if_absent $ig "$f" insert_vc_ignore $ig "$f"
fi fi
done done
done done

44
build-aux/.gitignore vendored
View File

@@ -1,22 +1,22 @@
announce-gen /announce-gen
arg-nonnull.h /arg-nonnull.h
c++defs.h /c++defs.h
compile /compile
config.guess /config.guess
config.rpath /config.rpath
config.sub /config.sub
depcomp /depcomp
gendocs.sh /gendocs.sh
git-version-gen /git-version-gen
install-sh /install-sh
javacomp.sh.in /javacomp.sh.in
javaexec.sh.in /javaexec.sh.in
link-warning.h /link-warning.h
mdate-sh /mdate-sh
missing /missing
texinfo.tex /texinfo.tex
update-copyright /update-copyright
useless-if-before-free /useless-if-before-free
vc-list-files /vc-list-files
warn-on-use.h /warn-on-use.h
ylwrap /ylwrap

54
doc/.gitignore vendored
View File

@@ -1,27 +1,27 @@
*.info* /*.info*
*~ /*~
.dirstamp /.dirstamp
bison.1 /bison.1
bison.aux /bison.aux
bison.cp /bison.cp
bison.cps /bison.cps
bison.dvi /bison.dvi
bison.fn /bison.fn
bison.help /bison.help
bison.html /bison.html
bison.ky /bison.ky
bison.log /bison.log
bison.pdf /bison.pdf
bison.pg /bison.pg
bison.ps /bison.ps
bison.toc /bison.toc
bison.tp /bison.tp
bison.vr /bison.vr
cross-options.texi /cross-options.texi
gendocs_template /gendocs_template
refcard.dvi /refcard.dvi
refcard.log /refcard.log
refcard.ps /refcard.ps
stamp-vti /stamp-vti
version.texi /version.texi
yacc.1 /yacc.1

2
gnulib

Submodule gnulib updated: 54a0a8a701...8b9b4bbba5

432
lib/.gitignore vendored
View File

@@ -1,216 +1,216 @@
*.a /*.a
*.bak /*.bak
*.o /*.o
*~ /*~
.deps /.deps
.dirstamp /.dirstamp
Makefile /Makefile
Makefile.in /Makefile.in
alloca.h /alloca.h
alloca.in.h /alloca.in.h
arg-nonnull.h /arg-nonnull.h
argmatch.c /argmatch.c
argmatch.h /argmatch.h
asnprintf.c /asnprintf.c
basename-lgpl.c /basename-lgpl.c
basename.c /basename.c
binary-io.h /binary-io.h
bitrotate.h /bitrotate.h
c++defs.h /c++defs.h
c-ctype.c /c-ctype.c
c-ctype.h /c-ctype.h
c-strcase.h /c-strcase.h
c-strcasecmp.c /c-strcasecmp.c
c-strncasecmp.c /c-strncasecmp.c
charset.alias /charset.alias
cloexec.c /cloexec.c
cloexec.h /cloexec.h
config.charset /config.charset
config.h /config.h
config.hin /config.hin
configmake.h /configmake.h
dirname-lgpl.c /dirname-lgpl.c
dirname.c /dirname.c
dirname.h /dirname.h
dup-safer-flag.c /dup-safer-flag.c
dup-safer.c /dup-safer.c
dup2.c /dup2.c
errno.h /errno.h
errno.in.h /errno.in.h
error.c /error.c
error.h /error.h
exitfail.c /exitfail.c
exitfail.h /exitfail.h
fatal-signal.c /fatal-signal.c
fatal-signal.h /fatal-signal.h
fcntl.c /fcntl.c
fcntl.h /fcntl.h
fcntl.in.h /fcntl.in.h
fd-safer-flag.c /fd-safer-flag.c
fd-safer.c /fd-safer.c
float+.h /float+.h
float.h /float.h
float.in.h /float.in.h
fopen-safer.c /fopen-safer.c
fopen.c /fopen.c
fprintf.c /fprintf.c
fpucw.h /fpucw.h
frexp.c /frexp.c
frexpl.c /frexpl.c
fseterr.c /fseterr.c
fseterr.h /fseterr.h
getdtablesize.c /getdtablesize.c
getopt.c /getopt.c
getopt.h /getopt.h
getopt.in.h /getopt.in.h
getopt1.c /getopt1.c
getopt_int.h /getopt_int.h
gettext.h /gettext.h
gnulib.mk /gnulib.mk
hash.c /hash.c
hash.h /hash.h
intprops.h /intprops.h
inttypes.h /inttypes.h
inttypes.in.h /inttypes.in.h
isnan.c /isnan.c
isnand-nolibm.h /isnand-nolibm.h
isnand.c /isnand.c
isnanf-nolibm.h /isnanf-nolibm.h
isnanf.c /isnanf.c
isnanl-nolibm.h /isnanl-nolibm.h
isnanl.c /isnanl.c
localcharset.c /localcharset.c
localcharset.h /localcharset.h
malloc.c /malloc.c
math.h /math.h
math.in.h /math.in.h
mbrtowc.c /mbrtowc.c
mbsinit.c /mbsinit.c
mbswidth.c /mbswidth.c
mbswidth.h /mbswidth.h
memchr.c /memchr.c
memchr.valgrind /memchr.valgrind
obstack.c /obstack.c
obstack.h /obstack.h
open.c /open.c
pipe-safer.c /pipe-safer.c
pipe.c /pipe.c
pipe.h /pipe.h
pipe2-safer.c /pipe2-safer.c
pipe2.c /pipe2.c
printf-args.c /printf-args.c
printf-args.h /printf-args.h
printf-frexp.c /printf-frexp.c
printf-frexp.h /printf-frexp.h
printf-frexpl.c /printf-frexpl.c
printf-frexpl.h /printf-frexpl.h
printf-parse.c /printf-parse.c
printf-parse.h /printf-parse.h
printf.c /printf.c
quote.c /quote.c
quote.h /quote.h
quotearg.c /quotearg.c
quotearg.h /quotearg.h
rawmemchr.c /rawmemchr.c
rawmemchr.valgrind /rawmemchr.valgrind
realloc.c /realloc.c
ref-add.sed /ref-add.sed
ref-add.sin /ref-add.sin
ref-del.sed /ref-del.sed
ref-del.sin /ref-del.sin
sched.h /sched.h
sched.in.h /sched.in.h
sig-handler.h /sig-handler.h
sigaction.c /sigaction.c
signal.h /signal.h
signal.in.h /signal.in.h
signbitd.c /signbitd.c
signbitf.c /signbitf.c
signbitl.c /signbitl.c
sigprocmask.c /sigprocmask.c
size_max.h /size_max.h
snprintf.c /snprintf.c
spawn.h /spawn.h
spawn.in.h /spawn.in.h
spawn_faction_addclose.c /spawn_faction_addclose.c
spawn_faction_adddup2.c /spawn_faction_adddup2.c
spawn_faction_addopen.c /spawn_faction_addopen.c
spawn_faction_destroy.c /spawn_faction_destroy.c
spawn_faction_init.c /spawn_faction_init.c
spawn_int.h /spawn_int.h
spawnattr_destroy.c /spawnattr_destroy.c
spawnattr_init.c /spawnattr_init.c
spawnattr_setflags.c /spawnattr_setflags.c
spawnattr_setsigmask.c /spawnattr_setsigmask.c
spawni.c /spawni.c
spawnp.c /spawnp.c
sprintf.c /sprintf.c
stamp-h1 /stamp-h1
stat.c /stat.c
stdbool.h /stdbool.h
stdbool.in.h /stdbool.in.h
stddef.h /stddef.h
stddef.in.h /stddef.in.h
stdint.h /stdint.h
stdint.in.h /stdint.in.h
stdio--.h /stdio--.h
stdio-impl.h /stdio-impl.h
stdio-safer.h /stdio-safer.h
stdio-write.c /stdio-write.c
stdio.h /stdio.h
stdio.in.h /stdio.in.h
stdlib.h /stdlib.h
stdlib.in.h /stdlib.in.h
stpcpy.c /stpcpy.c
strchrnul.c /strchrnul.c
strchrnul.valgrind /strchrnul.valgrind
streq.h /streq.h
strerror.c /strerror.c
string.h /string.h
string.in.h /string.in.h
stripslash.c /stripslash.c
strndup.c /strndup.c
strnlen.c /strnlen.c
strtol.c /strtol.c
strtoul.c /strtoul.c
strverscmp.c /strverscmp.c
sys /sys
sys_stat.h /sys_stat.h
sys_stat.in.h /sys_stat.in.h
sys_wait.h /sys_wait.h
sys_wait.in.h /sys_wait.in.h
time.h /time.h
time.in.h /time.in.h
unistd--.h /unistd--.h
unistd-safer.h /unistd-safer.h
unistd.h /unistd.h
unistd.in.h /unistd.in.h
unitypes.h /unitypes.h
unitypes.in.h /unitypes.in.h
uniwidth /uniwidth
uniwidth.h /uniwidth.h
uniwidth.in.h /uniwidth.in.h
unlocked-io.h /unlocked-io.h
unsetenv.c /unsetenv.c
vasnprintf.c /vasnprintf.c
vasnprintf.h /vasnprintf.h
verify.h /verify.h
vfprintf.c /vfprintf.c
vsnprintf.c /vsnprintf.c
vsprintf.c /vsprintf.c
w32spawn.h /w32spawn.h
wait-process.c /wait-process.c
wait-process.h /wait-process.h
waitpid.c /waitpid.c
warn-on-use.h /warn-on-use.h
wchar.h /wchar.h
wchar.in.h /wchar.in.h
wctype.h /wctype.h
wctype.in.h /wctype.in.h
wcwidth.c /wcwidth.c
xalloc-die.c /xalloc-die.c
xalloc.h /xalloc.h
xmalloc.c /xmalloc.c
xsize.h /xsize.h
xstrndup.c /xstrndup.c
xstrndup.h /xstrndup.h

282
m4/.gitignore vendored
View File

@@ -1,141 +1,141 @@
00gnulib.m4 /00gnulib.m4
alloca.m4 /alloca.m4
argmatch.m4 /argmatch.m4
asm-underscore.m4 /asm-underscore.m4
assert.m4 /assert.m4
cloexec.m4 /cloexec.m4
codeset.m4 /codeset.m4
config-h.m4 /config-h.m4
dirname.m4 /dirname.m4
dos.m4 /dos.m4
double-slash-root.m4 /double-slash-root.m4
dup2.m4 /dup2.m4
environ.m4 /environ.m4
errno_h.m4 /errno_h.m4
error.m4 /error.m4
exponentd.m4 /exponentd.m4
exponentf.m4 /exponentf.m4
exponentl.m4 /exponentl.m4
extensions.m4 /extensions.m4
fatal-signal.m4 /fatal-signal.m4
fcntl-o.m4 /fcntl-o.m4
fcntl.m4 /fcntl.m4
fcntl_h.m4 /fcntl_h.m4
float_h.m4 /float_h.m4
fopen.m4 /fopen.m4
fpieee.m4 /fpieee.m4
fprintf-posix.m4 /fprintf-posix.m4
frexp.m4 /frexp.m4
frexpl.m4 /frexpl.m4
getdtablesize.m4 /getdtablesize.m4
getopt.m4 /getopt.m4
gettext.m4 /gettext.m4
glibc21.m4 /glibc21.m4
gnulib-cache.m4 /gnulib-cache.m4
gnulib-common.m4 /gnulib-common.m4
gnulib-comp.m4 /gnulib-comp.m4
gnulib-tool.m4 /gnulib-tool.m4
hash.m4 /hash.m4
iconv.m4 /iconv.m4
include_next.m4 /include_next.m4
inline.m4 /inline.m4
intlmacosx.m4 /intlmacosx.m4
intmax_t.m4 /intmax_t.m4
inttypes-pri.m4 /inttypes-pri.m4
inttypes.m4 /inttypes.m4
inttypes_h.m4 /inttypes_h.m4
isnand.m4 /isnand.m4
isnanf.m4 /isnanf.m4
isnanl.m4 /isnanl.m4
javacomp.m4 /javacomp.m4
javaexec.m4 /javaexec.m4
ldexpl.m4 /ldexpl.m4
lib-ld.m4 /lib-ld.m4
lib-link.m4 /lib-link.m4
lib-prefix.m4 /lib-prefix.m4
libunistring-base.m4 /libunistring-base.m4
localcharset.m4 /localcharset.m4
locale-fr.m4 /locale-fr.m4
locale-ja.m4 /locale-ja.m4
locale-zh.m4 /locale-zh.m4
longlong.m4 /longlong.m4
malloc.m4 /malloc.m4
math_h.m4 /math_h.m4
mbrtowc.m4 /mbrtowc.m4
mbsinit.m4 /mbsinit.m4
mbstate_t.m4 /mbstate_t.m4
mbswidth.m4 /mbswidth.m4
memchr.m4 /memchr.m4
mmap-anon.m4 /mmap-anon.m4
mode_t.m4 /mode_t.m4
multiarch.m4 /multiarch.m4
nls.m4 /nls.m4
nocrash.m4 /nocrash.m4
open.m4 /open.m4
pipe.m4 /pipe.m4
pipe2.m4 /pipe2.m4
po.m4 /po.m4
posix_spawn.m4 /posix_spawn.m4
printf-frexp.m4 /printf-frexp.m4
printf-frexpl.m4 /printf-frexpl.m4
printf-posix-rpl.m4 /printf-posix-rpl.m4
printf-posix.m4 /printf-posix.m4
printf.m4 /printf.m4
progtest.m4 /progtest.m4
quote.m4 /quote.m4
quotearg.m4 /quotearg.m4
rawmemchr.m4 /rawmemchr.m4
realloc.m4 /realloc.m4
sched_h.m4 /sched_h.m4
setenv.m4 /setenv.m4
sig_atomic_t.m4 /sig_atomic_t.m4
sigaction.m4 /sigaction.m4
signal_h.m4 /signal_h.m4
signalblocking.m4 /signalblocking.m4
signbit.m4 /signbit.m4
size_max.m4 /size_max.m4
snprintf-posix.m4 /snprintf-posix.m4
snprintf.m4 /snprintf.m4
spawn_h.m4 /spawn_h.m4
sprintf-posix.m4 /sprintf-posix.m4
stat.m4 /stat.m4
stdbool.m4 /stdbool.m4
stddef_h.m4 /stddef_h.m4
stdint.m4 /stdint.m4
stdint_h.m4 /stdint_h.m4
stdio-safer.m4 /stdio-safer.m4
stdio_h.m4 /stdio_h.m4
stdlib_h.m4 /stdlib_h.m4
stpcpy.m4 /stpcpy.m4
strchrnul.m4 /strchrnul.m4
strerror.m4 /strerror.m4
string_h.m4 /string_h.m4
strndup.m4 /strndup.m4
strnlen.m4 /strnlen.m4
strtol.m4 /strtol.m4
strtoul.m4 /strtoul.m4
strverscmp.m4 /strverscmp.m4
sys_stat_h.m4 /sys_stat_h.m4
sys_wait_h.m4 /sys_wait_h.m4
threadlib.m4 /threadlib.m4
time_h.m4 /time_h.m4
unistd-safer.m4 /unistd-safer.m4
unistd_h.m4 /unistd_h.m4
unlocked-io.m4 /unlocked-io.m4
vasnprintf.m4 /vasnprintf.m4
vfprintf-posix.m4 /vfprintf-posix.m4
vsnprintf-posix.m4 /vsnprintf-posix.m4
vsnprintf.m4 /vsnprintf.m4
vsprintf-posix.m4 /vsprintf-posix.m4
wait-process.m4 /wait-process.m4
waitpid.m4 /waitpid.m4
warn-on-use.m4 /warn-on-use.m4
warnings.m4 /warnings.m4
wchar_h.m4 /wchar_h.m4
wchar_t.m4 /wchar_t.m4
wctype_h.m4 /wctype_h.m4
wcwidth.m4 /wcwidth.m4
wint_t.m4 /wint_t.m4
xalloc.m4 /xalloc.m4
xsize.m4 /xsize.m4
xstrndup.m4 /xstrndup.m4

44
po/.gitignore vendored
View File

@@ -1,22 +1,22 @@
*.gmo /*.gmo
*.po /*.po
*.po~ /*.po~
.reference /.reference
LINGUAS /LINGUAS
Makefile /Makefile
Makefile.in /Makefile.in
Makefile.in.in /Makefile.in.in
Makevars /Makevars
Makevars.template /Makevars.template
POTFILES /POTFILES
Rules-quot /Rules-quot
bison.pot /bison.pot
boldquot.sed /boldquot.sed
en@boldquot.header /en@boldquot.header
en@quot.header /en@quot.header
insert-header.sed /insert-header.sed
insert-header.sin /insert-header.sin
quot.sed /quot.sed
remove-potcdate.sed /remove-potcdate.sed
remove-potcdate.sin /remove-potcdate.sin
stamp-po /stamp-po

44
runtime-po/.gitignore vendored
View File

@@ -1,22 +1,22 @@
*.gmo /*.gmo
*.po /*.po
*.po~ /*.po~
.reference /.reference
LINGUAS /LINGUAS
Makefile /Makefile
Makefile.in /Makefile.in
Makefile.in.in /Makefile.in.in
Makevars /Makevars
Makevars.template /Makevars.template
POTFILES /POTFILES
Rules-quot /Rules-quot
bison-runtime.pot /bison-runtime.pot
boldquot.sed /boldquot.sed
en@boldquot.header /en@boldquot.header
en@quot.header /en@quot.header
insert-header.sed /insert-header.sed
insert-header.sin /insert-header.sin
quot.sed /quot.sed
remove-potcdate.sed /remove-potcdate.sed
remove-potcdate.sin /remove-potcdate.sin
stamp-po /stamp-po

24
src/.gitignore vendored
View File

@@ -1,12 +1,12 @@
*.flc /*.flc
*.log /*.log
*.o /*.o
*.output /*.output
.deps /.deps
.dirstamp /.dirstamp
bison /bison
bison.exe /bison.exe
scan-code.c /scan-code.c
scan-gram.c /scan-gram.c
scan-skel.c /scan-skel.c
yacc /yacc