[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: uniwidth/.cvsignore?
From: |
Bruno Haible |
Subject: |
Re: uniwidth/.cvsignore? |
Date: |
Tue, 24 Jul 2007 00:07:25 +0200 |
User-agent: |
KMail/1.5.4 |
Karl Berry wrote:
> Should there be a gnulib/uniwidth/.cvsignore file for .deps (and
> .dirstamp?), as with gnulib/lib/.cvsignore?
Indeed, this will make gnulib-tool a little bit more comfortable. I'm
applying this:
2007-07-23 Bruno Haible <address@hidden>
* gnulib-tool (func_import): Create a .cvsignore file also when the
directory is not yet in CVS but the toplevel directory is. When
creating a .cvsignore file, add ".deps" and ".dirstamp" to it.
Reported by Karl Berry.
*** gnulib-tool 19 Jul 2007 20:06:45 -0000 1.251
--- gnulib-tool 23 Jul 2007 22:02:18 -0000
***************
*** 2798,2804 ****
if test -n "$dir_added"; then
if $doit; then
echo "Creating $destdir/$dir$ignore"
! echo "$dir_added" | sed -e '/^$/d' | LC_ALL=C sort -u >
"$destdir/$dir$ignore"
else
echo "Create $destdir/$dir$ignore"
fi
--- 2798,2811 ----
if test -n "$dir_added"; then
if $doit; then
echo "Creating $destdir/$dir$ignore"
! {
! if test "$ignore" = .cvsignore; then
! echo ".deps"
! # Automake generates Makefile rules that create .dirstamp
files.
! echo ".dirstamp"
! fi
! echo "$dir_added" | sed -e '/^$/d' | LC_ALL=C sort -u
! } > "$destdir/$dir$ignore"
else
echo "Create $destdir/$dir$ignore"
fi
***************
*** 2810,2816 ****
dir="$1"
dir_added="$2"
dir_removed="$3"
! if test -d "$destdir/${dir}CVS" || test -f "$destdir/${dir}.cvsignore";
then
func_update_ignorelist .cvsignore
fi
if test -d "$destdir/.git" || test -f "$destdir/${dir}.gitignore"; then
--- 2817,2823 ----
dir="$1"
dir_added="$2"
dir_removed="$3"
! if test -d "$destdir/CVS" || test -d "$destdir/${dir}CVS" || test -f
"$destdir/${dir}.cvsignore"; then
func_update_ignorelist .cvsignore
fi
if test -d "$destdir/.git" || test -f "$destdir/${dir}.gitignore"; then
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: uniwidth/.cvsignore?,
Bruno Haible <=