Skip to content

Commit

Permalink
generate .gitignore files from .cvsignore ones
Browse files Browse the repository at this point in the history
* Makefile.maint (sync-vcs-ignore-files): New target.
Prompted by a patch from James Morris.
http://thread.gmane.org/gmane.comp.emulators.libvirt/8619/focus=8773
Add all (now-generated) .gitignore files.
* .gitignore: New file.
* build-aux/.gitignore: New file.
* docs/.gitignore: New file.
* docs/devhelp/.gitignore: New file.
* docs/examples/.gitignore: New file.
* docs/examples/python/.gitignore: New file.
* gnulib/lib/.gitignore: New file.
* gnulib/lib/arpa/.gitignore: New file.
* gnulib/lib/netinet/.gitignore: New file.
* gnulib/lib/sys/.gitignore: New file.
* gnulib/tests/.gitignore: New file.
* include/.gitignore: New file.
* include/libvirt/.gitignore: New file.
* po/.gitignore: New file.
* proxy/.gitignore: New file.
* python/.gitignore: New file.
* python/tests/.gitignore: New file.
* qemud/.gitignore: New file.
* src/.gitignore: New file.
* tests/.gitignore: New file.
* tests/confdata/.gitignore: New file.
* tests/sexpr2xmldata/.gitignore: New file.
* tests/virshdata/.gitignore: New file.
* tests/xencapsdata/.gitignore: New file.
* tests/xmconfigdata/.gitignore: New file.
* tests/xml2sexprdata/.gitignore: New file.
  • Loading branch information
Jim Meyering committed Oct 17, 2008
1 parent 83c2762 commit 164fbbd
Show file tree
Hide file tree
Showing 27 changed files with 224 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
.git
Makefile
aclocal.m4
autom4te.cache
stamp-h.in
Makefile.in
configure
config.cache
config.h
config.h.in
config.log
config.status
config.guess
config.sub
config.rpath
stamp-h
stamp-h1
libtool
ltconfig
update.log
libvirt.pc
libvirt.spec
mingw32-libvirt.spec
COPYING
m4
ABOUT-NLS
coverage
results.log
libvirt-*.tar.gz
INSTALL
ltmain.sh
mkinstalldirs
9 changes: 9 additions & 0 deletions Makefile.maint
Original file line number Diff line number Diff line change
Expand Up @@ -607,3 +607,12 @@ my-distcheck: $(local-check) check
@echo "========================"; \
echo "$(distdir).tar.gz is ready for distribution"; \
echo "========================"

gi=.gitignore
sync-vcs-ignore-files:
find . -name .cvsignore \
| sed \
-e 's,\(.*\),cp -f \1 \1; chmod 444 \1,' \
-e 's,\.cvsignore; ,$(gi); ,' \
-e 's,\.cvsignore$$,$(gi),' \
| $(SHELL)
10 changes: 10 additions & 0 deletions build-aux/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
compile
config.guess
config.rpath
config.sub
depcomp
install-sh
ltmain.sh
missing
mkinstalldirs
mktempd
4 changes: 4 additions & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Makefile
Makefile.in
.memdump
apibuild.pyc
3 changes: 3 additions & 0 deletions docs/devhelp/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Makefile
Makefile.in
libvirt.devhelp
7 changes: 7 additions & 0 deletions docs/examples/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.memdump
Makefile.in
Makefile
.deps
.libs
info1
suspend
2 changes: 2 additions & 0 deletions docs/examples/python/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Makefile
Makefile.in
23 changes: 23 additions & 0 deletions gnulib/lib/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
*.la
*.lo
.deps
.libs
Makefile
Makefile.in
alloca.h
arpa_inet.h
float.h
netinet_in.h
poll.h
stdbool.h
stdint.h
stdio-impl.h
stdio.h
stdlib.h
string.h
sys_select.h
sys_socket.h
sys_stat.h
sys_time.h
unistd.h
wchar.h
1 change: 1 addition & 0 deletions gnulib/lib/arpa/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
inet.h
1 change: 1 addition & 0 deletions gnulib/lib/netinet/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
in.h
4 changes: 4 additions & 0 deletions gnulib/lib/sys/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
select.h
socket.h
stat.h
time.h
29 changes: 29 additions & 0 deletions gnulib/tests/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
.deps
.libs
Makefile
Makefile.in
test-alloca-opt
test-arpa_inet
test-fseeko
test-getaddrinfo
test-getdelim
test-getline
test-lseek
test-netinet_in
test-snprintf
test-stdbool
test-stdint
test-stdio
test-stdlib
test-string
test-sys_select
test-sys_socket
test-sys_stat
test-sys_time
test-unistd
test-vasnprintf
test-vasprintf
test-wchar
test-EOVERFLOW.c
test-EOVERFLOW
test-c-ctype
2 changes: 2 additions & 0 deletions include/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Makefile
Makefile.in
2 changes: 2 additions & 0 deletions include/libvirt/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Makefile
Makefile.in
15 changes: 15 additions & 0 deletions po/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
stamp-po
remove-potcdate.sin
quot.sed
insert-header.sin
*.gmo
en@quot.header
en@boldquot.header
boldquot.sed
Rules-quot
POTFILES
Makevars.template
Makefile.in.in
Makefile.in
Makefile
remove-potcdate.sed
5 changes: 5 additions & 0 deletions proxy/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Makefile
Makefile.in
.deps
.libs
libvirt_proxy
14 changes: 14 additions & 0 deletions python/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Makefile
Makefile.in
.deps
.libs
*.lo
*.la
*.loT
libvirt.py
libvirt-export.c
libvirtclass.txt
libvirt-py.[ch]
libvirtclass.py
gen_prog
*.pyc
2 changes: 2 additions & 0 deletions python/tests/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Makefile
Makefile.in
11 changes: 11 additions & 0 deletions qemud/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Makefile
Makefile.in
.deps
.libs
*.lo
*.la
libvirt_qemud
libvirtd
libvirtd.init
*.gcno
*.gcda
16 changes: 16 additions & 0 deletions src/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Makefile
Makefile.in
.deps
.libs
*.lo
*.loT
*.la
virsh
*.gcda
*.gcno
*.gcov
*.cov
libvirt_parthelper
libvirt_lxc
virsh-net-edit.c
virsh-pool-edit.c
20 changes: 20 additions & 0 deletions tests/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Makefile
Makefile.in
.deps
.libs
xmlrpctest
sexpr2xmltest
xml2sexprtest
virshtest
conftest
reconnect
xmconfigtest
xencapstest
qemuxml2xmltest
qemuxml2argvtest
nodeinfotest
statstest
qparamtest
*.gcda
*.gcno

2 changes: 2 additions & 0 deletions tests/confdata/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Makefile
Makefile.in
2 changes: 2 additions & 0 deletions tests/sexpr2xmldata/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Makefile
Makefile.in
2 changes: 2 additions & 0 deletions tests/virshdata/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Makefile
Makefile.in
2 changes: 2 additions & 0 deletions tests/xencapsdata/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Makefile
Makefile.in
2 changes: 2 additions & 0 deletions tests/xmconfigdata/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Makefile
Makefile.in
2 changes: 2 additions & 0 deletions tests/xml2sexprdata/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Makefile
Makefile.in

0 comments on commit 164fbbd

Please sign in to comment.