.gitignore: Consolidate generic patterns at top level

Patterns in the top-level .gitignore match in all subdirectories, so
there's no need to repeat ourselves quite so much for generic
C, Autotools and gcov patterns.

Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
Simon McVittie 2018-12-14 12:46:35 +00:00
parent d79986db28
commit c95873e537
7 changed files with 5 additions and 55 deletions

5
.gitignore vendored
View file

@ -30,11 +30,16 @@
*.gcda *.gcda
*.gcno *.gcno
*.gcov *.gcov
*.la
*.lo
*.o *.o
*.orig *.orig
*.rej *.rej
*~ *~
.*.sw? .*.sw?
.deps/
.dirstamp
.libs/
Makefile Makefile
Makefile.in Makefile.in
cscope.out cscope.out

10
bus/.gitignore vendored
View file

@ -1,18 +1,8 @@
.deps
.libs
Makefile
Makefile.in
*.lo
*.la
dbus-daemon dbus-daemon
dbus-daemon-activation-helper dbus-daemon-activation-helper
dbus-daemon-activation-helper-test dbus-daemon-activation-helper-test
dbus-daemon-launch-helper dbus-daemon-launch-helper
dbus-daemon-launch-helper-test dbus-daemon-launch-helper-test
*.bb
*.bbg
*.da
*.gcov
test-bus test-bus
rc.messagebus rc.messagebus
messagebus messagebus

12
dbus/.gitignore vendored
View file

@ -1,17 +1,5 @@
.deps
.libs
Makefile
Makefile.in
*.lo
*.la
test-dbus test-dbus
*.bb
*.bbg
*.gcov
*.da
dbus-arch-deps.h dbus-arch-deps.h
.dbus-keyrings .dbus-keyrings
dbus-glib-error-enum.h dbus-glib-error-enum.h
*.gcno
*.gcda
versioninfo.rc versioninfo.rc

7
doc/.gitignore vendored
View file

@ -1,13 +1,6 @@
.deps
.libs
Makefile
Makefile.in
*.1 *.1
*.1.xml *.1.xml
*.1.html *.1.html
*.lo
*.la
*.o
api api
dbus.devhelp dbus.devhelp
/dbus.devhelp2 /dbus.devhelp2

12
test/.gitignore vendored
View file

@ -1,18 +1,7 @@
.deps
.libs
Makefile
Makefile.in
*.lo
*.la
*.o
echo-server echo-server
echo-client echo-client
test-bus test-bus
unbase64 unbase64
*.bb
*.bbg
*.da
*.gcov
break-loader break-loader
test-spawn test-spawn
test-corrupt test-corrupt
@ -37,4 +26,3 @@ test-printf
test-refs test-refs
test-syntax test-syntax
test-syslog test-syslog
internals/.dirstamp

View file

@ -1,7 +1,3 @@
.deps
.libs
Makefile
Makefile.in
echo-error-output.tmp echo-error-output.tmp
tmp-session-bus.*.conf tmp-session-bus.*.conf
test-ids test-ids

10
tools/.gitignore vendored
View file

@ -1,19 +1,9 @@
.deps
.libs
Makefile
Makefile.in
*.lo
*.la
dbus-send dbus-send
dbus-monitor dbus-monitor
dbus-cleanup-sockets dbus-cleanup-sockets
dbus-launch dbus-launch
dbus-uuidgen dbus-uuidgen
dbus-run-session dbus-run-session
*.bb
*.bbg
*.gcov
*.da
dbus-viewer dbus-viewer
dbus-glib-bindings.h dbus-glib-bindings.h
run-with-tmp-session-bus.conf run-with-tmp-session-bus.conf