diff options
author | Eric Blake <eblake@redhat.com> | 2012-09-21 09:39:11 -0600 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2012-09-21 10:10:12 -0600 |
commit | 118378c9d104bf6b1f18931896f6cccc62a79591 (patch) | |
tree | de763e3bc037a4b52827b7c401295d9ceeba2bc3 | |
parent | 2fdc2f744de4365b8cafc962f6ccbbb03640358e (diff) | |
download | m4-118378c9d104bf6b1f18931896f6cccc62a79591.tar.gz |
maint: drop more CVS cruft
Commit 47c48ce was intended to remove all CVS support, but missed
some pieces.
* bootstrap (Version control): Don't generate .cvsignore or
prepopulate m4/.gitignore.
* .gitignore: Allow m4/gnulib-cache.m4 manually.
Reported by Stefano Lattarini.
Signed-off-by: Eric Blake <eblake@redhat.com>
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | ChangeLog | 7 | ||||
-rwxr-xr-x | bootstrap | 22 |
3 files changed, 11 insertions, 21 deletions
@@ -32,6 +32,7 @@ configure configure.lineno CVS /depcomp +/doc/.gitignore /doc/fdl-1.3.texi /doc/gendocs_template /doc/gpl-3.0.texi @@ -52,6 +53,8 @@ gnupload /lib/* !/lib/Makefile.am link-warning.h +/m4/* +!/m4/gnulib-cache.m4 m4-* /maint.mk Makefile.in @@ -1,3 +1,10 @@ +2012-09-21 Eric Blake <eblake@redhat.com> + + maint: drop more CVS cruft + * bootstrap (Version control): Don't generate .cvsignore or + prepopulate m4/.gitignore. + * .gitignore: Allow m4/gnulib-cache.m4 manually. + 2012-09-06 Eric Blake <eblake@redhat.com> maint: enable gcc warnings during git development @@ -1,6 +1,6 @@ #! /bin/sh -# bootstrap (GNU M4) version 2012-07-21 +# bootstrap (GNU M4) version 2012-09-21 # Written by Gary V. Vaughan <gary@gnu.org> # Copyright (C) 2004-2012 Free Software Foundation, Inc. @@ -213,26 +213,6 @@ func_update () ## Version control. ## ## ---------------- ## -# gnulib-tool updates m4/.{git,cvs}ignore and lib/.{git,cvs}ignore, and -# keeping generated files under version control does not make sense. -# Since lib is entirely ignored, we only need to prepopulate the m4 ignore -# files with generated files not tracked by gnulib-tool. -if test -f $config_macro_dir/.gitignore ; then - : -else - func_echo "creating initial $config_macro_dir/.cvsignore" - cat > $config_macro_dir/.cvsignore <<\EOF -# files created by gnulib, but that gnulib doesn't track -*~ -.cvsignore -.gitignore -gnulib-comp.m4 -# gnulib-tool edits below here -EOF - func_echo "creating initial $config_macro_dir/.gitignore" - cp $config_macro_dir/.cvsignore $config_macro_dir/.gitignore -fi - # See if we can use gnulib's git-merge-changelog merge driver. if test -d .git && (git --version) >/dev/null 2>/dev/null ; then if git config merge.merge-changelog.driver >/dev/null ; then |