autoconf/.gitignore
Zack Weinberg d1a65dc043
Check in install-sh as synced from automake (#110368)
As pointed out in sr #110368, since install-sh is now being installed
as part of autoconf, we should make sure to ship the latest version
rather than the version shipped by the automake that was used to
bootstrap the autoconf release tarball.

The build-aux/fetch.pl script is already supposed to fetch the latest
version, but install-sh is listed in .gitignore so any updates are
discarded when starting from a clean tree.  Correct this.

At the same time, since mdate-sh is *not* installed by autoconf nor is
it directly referenced in any code maintained in the autoconf
repository, remove it from the list of files to fetch and keep it in
.gitignore.

This change exposed a bug in fetch.pl where it would crash when
there was no old copy of a file being updated.

 * .gitignore: Remove /build-aux/install-sh.
 * build-aux/fetch.pl (%to_fetch): Remove build-aux/mdate-sh.
   (slurp): Don’t die on ENOENT, return undef.
   (replace_if_change): Handle $oldcontents being undef.
 * build-aux/install-sh: Is now checked in.
2020-11-09 13:51:20 -05:00

95 lines
1.1 KiB
Plaintext

*.log
*.m4f
*.tmp
*.AC
*.ACs
*.AT
*.ATs
*.CA
*.CAs
*.MS
*.MSs
*.aux
*.cp
*.cps
*.cv
*.cvs
*.ev
*.evs
*.fn
*.fns
*.ky
*.ov
*.ovs
*.pg
*.pr
*.prs
*.toc
*.tp
*.vr
*~
.#*
.version
.dirstamp
CVS
/ChangeLog
/Fetchdir
/INSTALL
Makefile
Makefile.in
/TAGS
/aclocal.m4
/autoconf-[0-9].*
/autom4te.cache
/bin/autoheader
/bin/autoconf
/bin/autoconf.in
/bin/autom4te
/bin/autoreconf
/bin/autoscan
/bin/autoupdate
/bin/ifnames
/build-aux/elisp-comp
/build-aux/mdate-sh
/build-aux/missing
/config.cache
/config.log
/config.status
/configure
/configure.scan
/doc/*.info*
/doc/manual
/doc/stamp-vti
/doc/standards
/doc/version.texi
/doc/*.dvi
/doc/*.html
/doc/*.pdf
/doc/*.ps
/lib/autom4te.cfg
/lib/autoscan/autoscan.list
/lib/emacs/*.elc
/lib/emacs/elc-stamp
/lib/m4sugar/version.m4
/log
/man/*.[1-9]
/man/autoscan.log
/releases
/tags
/tests/ac*.at
/tests/atconfig
/tests/atlocal
/tests/autoconf
/tests/autoheader
/tests/autom4te
/tests/autoreconf
/tests/autoscan
/tests/autoupdate
/tests/expr
/tests/ifnames
/tests/mktests.stamp
/tests/package.m4
/tests/testsuite
/tests/testsuite.dir
/tests/wrapper.in