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
/*.flc
/*.prj
/*~
/.tarball-version
/.version
/ABOUT-NLS
/COPYING
/GNUmakefile
/INSTALL
/Makefile
/Makefile.in
/_*
ABOUT-NLS
COPYING
GNUmakefile
INSTALL
Makefile
Makefile.in
a.exe
a.out
aclocal.m4
b.out
bison-*
conf[0-9]*
confdefs*
config.log
config.status
configure
configure.lineno
conftest*
gnulib
javacomp.sh
javaexec.sh
maint.mk
patches
releases
stamp-h*
/a.exe
/a.out
/aclocal.m4
/b.out
/bison-*
/conf[0-9]*
/confdefs*
/config.log
/config.status
/configure
/configure.lineno
/conftest*
/gnulib
/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>
Fix portability problem on OpenBSD 4.7.

View File

@@ -261,6 +261,21 @@ insert_sorted_if_absent() {
|| 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.
found_aux_dir=no
grep '^[ ]*AC_CONFIG_AUX_DIR(\['"$build_aux"'\])' configure.ac \
@@ -279,7 +294,7 @@ if test ! -d $build_aux; then
mkdir $build_aux
for dot_ig in x $vc_ignore; do
test $dot_ig = x && continue
insert_sorted_if_absent $dot_ig $build_aux
insert_vc_ignore $dot_ig $build_aux
done
fi
@@ -565,7 +580,7 @@ symlink_to_dir()
for dot_ig in x $vc_ignore; do
test $dot_ig = x && continue
ig=$parent/$dot_ig
insert_sorted_if_absent $ig `echo "$dst_dir"|sed 's,.*/,,'`
insert_vc_ignore $ig `echo "$dst_dir"|sed 's,.*/,,'`
done
fi
@@ -725,7 +740,7 @@ slurp() {
test $dot_ig = x && continue
ig=$dir/$dot_ig
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
# the name with just ".h". Many gnulib headers are generated,
# e.g., stdint.in.h -> stdint.h, dirent.in.h ->..., etc.
@@ -738,12 +753,12 @@ slurp() {
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
# ignorable the directory we might eventually create: sys/.
f=`echo "$copied"|sed 's/sys_.*\.in\.h$/sys/'`
insert_sorted_if_absent $ig "$f"
insert_vc_ignore $ig "$f"
fi
done
done

44
build-aux/.gitignore vendored
View File

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

54
doc/.gitignore vendored
View File

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

2
gnulib

Submodule gnulib updated: 54a0a8a701...8b9b4bbba5

432
lib/.gitignore vendored
View File

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

282
m4/.gitignore vendored
View File

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

44
po/.gitignore vendored
View File

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

44
runtime-po/.gitignore vendored
View File

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

24
src/.gitignore vendored
View File

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