[Libvir] 3/22 cvsignore files for gnulib/ subhierarchy

Jim Meyering jim at meyering.net
Fri Dec 7 12:22:05 UTC 2007


Daniel Veillard <veillard at redhat.com> wrote:
...
>> Index: gnulib/lib/.cvsignore
>> ===================================================================
>> RCS file: /data/cvs/libvirt/gnulib/lib/.cvsignore,v
>> retrieving revision 1.1
>> diff -u -r1.1 .cvsignore
>> --- gnulib/lib/.cvsignore	5 Dec 2007 21:35:32 -0000	1.1
>> +++ gnulib/lib/.cvsignore	7 Dec 2007 10:39:52 -0000
>> @@ -1,11 +1,39 @@
>> +.deps
>> +.libs
>> +*.lo
>> +*.la
>> +Makefile
>> +Makefile.in
>>  alloca.h
>> +asprintf.c
>>  float.h
>> +fseeko.c
>> +getdelim.c
>> +getline.c
>> +getpass.c
>> +getpass.h
>> +lseek.c
>>  netinet_in.h
>> +poll.c
>> +poll.h
>> +poll.in.h
>> +realloc.c
>
>   That I don't understand clearly. you mean the .c files are now generated
> by the Makefile rules ? I assume it will get clearer with the other patches.

Good catch.  It shouldn't ignore those *.c files.  Nor the *.in.h ones.
However, adding the first six lines and poll.h is fine.

The files to be ignored in gnulib/lib are only those (.h usually)
generated by Makefile rules.  This snippet from bootstrap
tried to do the right thing:

  (cd gnulib/lib &&
   (cat .cvsignore; \
    ls -1 *.in.h|sed 's/\.in\.h/.h/') | sort -u > .t; mv .t .cvsignore)




More information about the libvir-list mailing list