correct and tighten up .*ignore files

* .cvsignore: Don't ignore *.orig or *.rej.  They're not build products.
Don't ignore the entire m4 directory.
* Makefile.maint (sync-vcs-ignore-files): Correct quoting.
Use sed rather than a for loop.
Search only version-controled files (for reproducibility)
* gnulib/lib/netinet/.cvsignore: Append missing newline-at-EOF,
so that the use of sed doesn't mistakenly concatenate lines.
* gnulib/lib/sys/.cvsignore: Likewise.
* m4/.cvsignore: Ignore acinclude.m4 and aclocal.m4, not *.m4.
* .hgignore: Regenerate.
* all .gitignore files: Regenerate.
This commit is contained in:
Jim Meyering 2009-01-23 13:32:17 +00:00
parent 6278bb191a
commit 48dc345f2d
13 changed files with 282 additions and 274 deletions

View File

@ -1,7 +1,5 @@
*.a *.a
*.o *.o
*.orig
*.rej
*~ *~
.git .git
ABOUT-NLS ABOUT-NLS
@ -27,7 +25,6 @@ libvirt.pc
libvirt.spec libvirt.spec
ltconfig ltconfig
ltmain.sh ltmain.sh
m4
mingw32-libvirt.spec mingw32-libvirt.spec
mkinstalldirs mkinstalldirs
results.log results.log

3
.gitignore vendored
View File

@ -1,7 +1,5 @@
*.a *.a
*.o *.o
*.orig
*.rej
*~ *~
.git .git
ABOUT-NLS ABOUT-NLS
@ -27,7 +25,6 @@ libvirt.pc
libvirt.spec libvirt.spec
ltconfig ltconfig
ltmain.sh ltmain.sh
m4
mingw32-libvirt.spec mingw32-libvirt.spec
mkinstalldirs mkinstalldirs
results.log results.log

485
.hgignore
View File

@ -1,245 +1,242 @@
syntax: glob syntax: glob
./proxy/Makefile *.a
./proxy/Makefile.in *.o
./proxy/.deps *~
./proxy/.libs .git
./proxy/libvirt_proxy ABOUT-NLS
./build-aux/compile COPYING
./build-aux/config.guess INSTALL
./build-aux/config.rpath Makefile
./build-aux/config.sub Makefile.in
./build-aux/depcomp aclocal.m4
./build-aux/install-sh autom4te.cache
./build-aux/ltmain.sh build-aux/compile
./build-aux/missing build-aux/config.guess
./build-aux/mkinstalldirs build-aux/config.rpath
./build-aux/mktempd build-aux/config.sub
./qemud/*.gcda build-aux/depcomp
./qemud/*.gcno build-aux/install-sh
./qemud/*.la build-aux/ltmain.sh
./qemud/*.lo build-aux/missing
./qemud/.deps build-aux/mkinstalldirs
./qemud/.libs build-aux/mktempd
./qemud/Makefile config.cache
./qemud/Makefile.in config.guess
./qemud/libvirt_qemud config.h
./qemud/libvirtd config.h.in
./qemud/libvirtd.init config.log
./qemud/libvirtd.logrotate config.rpath
./m4/acinclude.m4 config.status
./m4/aclocal.m4 config.sub
./m4/Makefile configure
./m4/Makefile.in coverage
./docs/devhelp/Makefile docs/.memdump
./docs/devhelp/Makefile.in docs/Makefile
./docs/devhelp/libvirt.devhelp docs/Makefile.in
./docs/examples/.memdump docs/apibuild.pyc
./docs/examples/Makefile.in docs/devhelp/Makefile
./docs/examples/Makefile docs/devhelp/Makefile.in
./docs/examples/.deps docs/devhelp/libvirt.devhelp
./docs/examples/.libs docs/examples/.deps
./docs/examples/info1 docs/examples/.libs
./docs/examples/suspend docs/examples/.memdump
./docs/examples/python/Makefile docs/examples/Makefile
./docs/examples/python/Makefile.in docs/examples/Makefile.in
./docs/Makefile docs/examples/info1
./docs/Makefile.in docs/examples/python/Makefile
./docs/.memdump docs/examples/python/Makefile.in
./docs/apibuild.pyc docs/examples/suspend
./po/stamp-po examples/domain-events/events-c/*.exe
./po/remove-potcdate.sin examples/domain-events/events-c/.deps
./po/quot.sed examples/domain-events/events-c/.libs
./po/insert-header.sin examples/domain-events/events-c/Makefile
./po/*.gmo examples/domain-events/events-c/Makefile.in
./po/en@quot.header examples/domain-events/events-c/event-test
./po/en@boldquot.header gnulib/lib/*.la
./po/boldquot.sed gnulib/lib/*.lo
./po/Rules-quot gnulib/lib/.deps
./po/POTFILES gnulib/lib/.libs
./po/Makevars.template gnulib/lib/Makefile
./po/Makefile.in.in gnulib/lib/Makefile.in
./po/Makefile.in gnulib/lib/alloca.h
./po/Makefile gnulib/lib/arpa/inet.h
./po/remove-potcdate.sed gnulib/lib/arpa_inet.h
./gnulib/lib/arpa/inet.h gnulib/lib/errno.h
./gnulib/lib/sys/select.h gnulib/lib/float.h
./gnulib/lib/sys/socket.h gnulib/lib/netdb.h
./gnulib/lib/sys/stat.h gnulib/lib/netinet/in.h
./gnulib/lib/sys/time.h gnulib/lib/netinet_in.h
./gnulib/lib/alloca.h gnulib/lib/poll.h
./gnulib/lib/arpa_inet.h gnulib/lib/stdbool.h
./gnulib/lib/.deps gnulib/lib/stdint.h
./gnulib/lib/errno.h gnulib/lib/stdio.h
./gnulib/lib/float.h gnulib/lib/stdlib.h
./gnulib/lib/*.la gnulib/lib/string.h
./gnulib/lib/.libs gnulib/lib/sys/select.h
./gnulib/lib/*.lo gnulib/lib/sys/socket.h
./gnulib/lib/Makefile gnulib/lib/sys/stat.h
./gnulib/lib/Makefile.in gnulib/lib/sys/time.h
./gnulib/lib/netdb.h gnulib/lib/sys_ioctl.h
./gnulib/lib/netinet_in.h gnulib/lib/sys_select.h
./gnulib/lib/poll.h gnulib/lib/sys_socket.h
./gnulib/lib/stdbool.h gnulib/lib/sys_stat.h
./gnulib/lib/stdint.h gnulib/lib/sys_time.h
./gnulib/lib/stdio.h gnulib/lib/time.h
./gnulib/lib/stdlib.h gnulib/lib/unistd.h
./gnulib/lib/string.h gnulib/lib/wchar.h
./gnulib/lib/sys_ioctl.h gnulib/tests/.deps
./gnulib/lib/sys_select.h gnulib/tests/.libs
./gnulib/lib/sys_socket.h gnulib/tests/Makefile
./gnulib/lib/sys_stat.h gnulib/tests/Makefile.in
./gnulib/lib/sys_time.h gnulib/tests/sys
./gnulib/lib/time.h gnulib/tests/test-EOVERFLOW
./gnulib/lib/unistd.h gnulib/tests/test-alloca-opt
./gnulib/lib/wchar.h gnulib/tests/test-arpa_inet
./gnulib/lib/netinet/in.h gnulib/tests/test-c-ctype
./gnulib/tests/.deps gnulib/tests/test-errno
./gnulib/tests/.libs gnulib/tests/test-fseeko
./gnulib/tests/Makefile gnulib/tests/test-getaddrinfo
./gnulib/tests/Makefile.in gnulib/tests/test-getdelim
./gnulib/tests/sys gnulib/tests/test-gethostname
./gnulib/tests/test-EOVERFLOW gnulib/tests/test-getline
./gnulib/tests/test-alloca-opt gnulib/tests/test-gettimeofday
./gnulib/tests/test-arpa_inet gnulib/tests/test-lseek
./gnulib/tests/test-c-ctype gnulib/tests/test-lstat
./gnulib/tests/test-errno gnulib/tests/test-netdb
./gnulib/tests/test-fseeko gnulib/tests/test-netinet_in
./gnulib/tests/test-getaddrinfo gnulib/tests/test-perror
./gnulib/tests/test-getdelim gnulib/tests/test-poll
./gnulib/tests/test-gethostname gnulib/tests/test-random_r
./gnulib/tests/test-getline gnulib/tests/test-snprintf
./gnulib/tests/test-gettimeofday gnulib/tests/test-sockets
./gnulib/tests/test-lseek gnulib/tests/test-stdbool
./gnulib/tests/test-lstat gnulib/tests/test-stdint
./gnulib/tests/test-netdb gnulib/tests/test-stdio
./gnulib/tests/test-netinet_in gnulib/tests/test-stdlib
./gnulib/tests/test-perror gnulib/tests/test-strerror
./gnulib/tests/test-poll gnulib/tests/test-string
./gnulib/tests/test-random_r gnulib/tests/test-sys_select
./gnulib/tests/test-snprintf gnulib/tests/test-sys_socket
./gnulib/tests/test-sockets gnulib/tests/test-sys_stat
./gnulib/tests/test-stdbool gnulib/tests/test-sys_time
./gnulib/tests/test-stdint gnulib/tests/test-time
./gnulib/tests/test-stdio gnulib/tests/test-unistd
./gnulib/tests/test-stdlib gnulib/tests/test-vasnprintf
./gnulib/tests/test-strerror gnulib/tests/test-vasprintf
./gnulib/tests/test-string gnulib/tests/test-wchar
./gnulib/tests/test-sys_select include/Makefile
./gnulib/tests/test-sys_socket include/Makefile.in
./gnulib/tests/test-sys_stat include/libvirt/Makefile
./gnulib/tests/test-sys_time include/libvirt/Makefile.in
./gnulib/tests/test-unistd libtool
./gnulib/tests/test-vasnprintf libvirt-*.tar.gz
./gnulib/tests/test-vasprintf libvirt.pc
./gnulib/tests/test-wchar libvirt.spec
./gnulib/tests/test-time ltconfig
./examples/domain-events/events-c/Makefile ltmain.sh
./examples/domain-events/events-c/Makefile.in m4/Makefile
./examples/domain-events/events-c/*.exe m4/Makefile.in
./examples/domain-events/events-c/.deps m4/acinclude.m4
./examples/domain-events/events-c/.libs m4/aclocal.m4
./examples/domain-events/events-c/event-test mingw32-libvirt.spec
./src/Makefile mkinstalldirs
./src/Makefile.in po/*.gmo
./src/.deps po/Makefile
./src/.libs po/Makefile.in
./src/*.lo po/Makefile.in.in
./src/*.loT po/Makevars.template
./src/*.la po/POTFILES
./src/virsh po/Rules-quot
./src/*.exe po/boldquot.sed
./src/*.gcda po/en@boldquot.header
./src/*.gcno po/en@quot.header
./src/*.gcov po/insert-header.sin
./src/*.cov po/quot.sed
./src/libvirt_parthelper po/remove-potcdate.sed
./src/libvirt_lxc po/remove-potcdate.sin
./src/virsh-net-edit.c po/stamp-po
./src/virsh-pool-edit.c proxy/.deps
./src/libvirt.syms proxy/.libs
./*.a proxy/Makefile
./*.o proxy/Makefile.in
./ChangeLog.orig proxy/libvirt_proxy
./ChangeLog.rej python/*.la
./*~ python/*.lo
./.git python/*.loT
./ABOUT-NLS python/*.pyc
./COPYING python/.deps
./INSTALL python/.libs
./Makefile python/Makefile
./Makefile.in python/Makefile.in
./aclocal.m4 python/gen_prog
./autom4te.cache python/libvirt-export.c
./config.cache python/libvirt-py.[ch]
./config.guess python/libvirt.py
./config.h python/libvirtclass.py
./config.h.in python/libvirtclass.txt
./config.log python/tests/Makefile
./config.rpath python/tests/Makefile.in
./config.status qemud/*.gcda
./config.sub qemud/*.gcno
./configure qemud/*.la
./coverage qemud/*.lo
./libtool qemud/.deps
./libvirt-*.tar.gz qemud/.libs
./libvirt.pc qemud/Makefile
./libvirt.spec qemud/Makefile.in
./ltconfig qemud/libvirt_qemud
./ltmain.sh qemud/libvirtd
./m4 qemud/libvirtd.init
./mingw32-libvirt.spec qemud/libvirtd.logrotate
./mkinstalldirs results.log
./results.log src/*.cov
./stamp-h src/*.exe
./stamp-h.in src/*.gcda
./stamp-h1 src/*.gcno
./update.log src/*.gcov
./python/Makefile src/*.la
./python/Makefile.in src/*.lo
./python/.deps src/*.loT
./python/.libs src/.deps
./python/*.lo src/.libs
./python/*.la src/Makefile
./python/*.loT src/Makefile.in
./python/libvirt.py src/libvirt.syms
./python/libvirt-export.c src/libvirt_lxc
./python/libvirtclass.txt src/libvirt_parthelper
./python/libvirt-py.[ch] src/virsh
./python/libvirtclass.py src/virsh-net-edit.c
./python/gen_prog src/virsh-pool-edit.c
./python/*.pyc stamp-h
./python/tests/Makefile stamp-h.in
./python/tests/Makefile.in stamp-h1
./tests/xml2sexprdata/Makefile tests/*.exe
./tests/xml2sexprdata/Makefile.in tests/*.gcda
./tests/sexpr2xmldata/Makefile tests/*.gcno
./tests/sexpr2xmldata/Makefile.in tests/.deps
./tests/confdata/Makefile tests/.libs
./tests/confdata/Makefile.in tests/Makefile
./tests/xmconfigdata/Makefile tests/Makefile.in
./tests/xmconfigdata/Makefile.in tests/confdata/Makefile
./tests/Makefile tests/confdata/Makefile.in
./tests/Makefile.in tests/conftest
./tests/.deps tests/nodeinfotest
./tests/.libs tests/qemuxml2argvtest
./tests/sexpr2xmltest tests/qemuxml2xmltest
./tests/xml2sexprtest tests/qparamtest
./tests/virshtest tests/reconnect
./tests/conftest tests/sexpr2xmldata/Makefile
./tests/reconnect tests/sexpr2xmldata/Makefile.in
./tests/xmconfigtest tests/sexpr2xmltest
./tests/xencapstest tests/statstest
./tests/qemuxml2xmltest tests/virshtest
./tests/qemuxml2argvtest tests/xencapsdata/Makefile
./tests/nodeinfotest tests/xencapsdata/Makefile.in
./tests/statstest tests/xencapstest
./tests/qparamtest tests/xmconfigdata/Makefile
./tests/*.gcda tests/xmconfigdata/Makefile.in
./tests/*.gcno tests/xmconfigtest
./tests/*.exe tests/xml2sexprdata/Makefile
./tests/xencapsdata/Makefile tests/xml2sexprdata/Makefile.in
./tests/xencapsdata/Makefile.in tests/xml2sexprtest
./include/libvirt/Makefile update.log
./include/libvirt/Makefile.in
./include/Makefile
./include/Makefile.in

View File

@ -1,3 +1,18 @@
Fri Jan 23 14:30:59 +0100 2009 Jim Meyering <meyering@redhat.com>
correct and tighten up .*ignore files
* .cvsignore: Don't ignore *.orig or *.rej. They're not build products.
Don't ignore the entire m4 directory.
* Makefile.maint (sync-vcs-ignore-files): Correct quoting.
Use sed rather than a for loop.
Search only version-controled files (for reproducibility)
* gnulib/lib/netinet/.cvsignore: Append missing newline-at-EOF,
so that the use of sed doesn't mistakenly concatenate lines.
* gnulib/lib/sys/.cvsignore: Likewise.
* m4/.cvsignore: Ignore acinclude.m4 and aclocal.m4, not *.m4.
* .hgignore: Regenerate.
* all .gitignore files: Regenerate.
Fri Jan 23 12:44:44 +0100 2009 Jim Meyering <meyering@redhat.com> Fri Jan 23 12:44:44 +0100 2009 Jim Meyering <meyering@redhat.com>
maint: update list of error function names and adapt maint: update list of error function names and adapt

View File

@ -718,9 +718,9 @@ sync-vcs-ignore-files:
perl $(c2g) perl $(c2g)
rm -f $(c2g) rm -f $(c2g)
echo "syntax: glob" > .hgignore echo "syntax: glob" > .hgignore
for ignore in `find $(srcdir) -name .gitignore`; do \ ( for ignore in $$($(VC_LIST) \
dir=`dirname $$ignore`; \ | grep -E '(^|/)\.gitignore$$'); do \
for rule in `cat $$ignore`; do \ dir=$$(dirname "$$ignore"); \
echo "$$dir/$$rule" >> .hgignore; \ test "$$dir" = . && pfx= || pfx=$$dir/; \
done ; \ sed "s!^!$$pfx!" "$$ignore"; \
done done ) | sort -u >> .hgignore

View File

@ -1,13 +1,13 @@
alloca.h
arpa_inet.h
.deps
errno.h
float.h
*.la *.la
.libs
*.lo *.lo
.deps
.libs
Makefile Makefile
Makefile.in Makefile.in
alloca.h
arpa_inet.h
errno.h
float.h
netdb.h netdb.h
netinet_in.h netinet_in.h
poll.h poll.h

12
gnulib/lib/.gitignore vendored
View File

@ -1,13 +1,13 @@
alloca.h
arpa_inet.h
.deps
errno.h
float.h
*.la *.la
.libs
*.lo *.lo
.deps
.libs
Makefile Makefile
Makefile.in Makefile.in
alloca.h
arpa_inet.h
errno.h
float.h
netdb.h netdb.h
netinet_in.h netinet_in.h
poll.h poll.h

View File

@ -1 +1 @@
in.h in.h

View File

@ -1 +1 @@
in.h in.h

View File

@ -1,4 +1,4 @@
select.h select.h
socket.h socket.h
stat.h stat.h
time.h time.h

View File

@ -1,4 +1,4 @@
select.h select.h
socket.h socket.h
stat.h stat.h
time.h time.h

View File

@ -1,3 +1,4 @@
*.m4
Makefile Makefile
Makefile.in Makefile.in
acinclude.m4
aclocal.m4

3
m4/.gitignore vendored
View File

@ -1,3 +1,4 @@
*.m4
Makefile Makefile
Makefile.in Makefile.in
acinclude.m4
aclocal.m4