diff options
author | Mike Frysinger <vapier@gentoo.org> | 2019-05-22 09:49:35 +0545 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2019-05-22 09:49:35 +0545 |
commit | 68e4088e7bca91b6ef6a92dec3ba49ba7170c313 (patch) | |
tree | 90e5f1a0ff8e22b3fe06f5365556dc2687277a2c | |
parent | 3f9f416a6ae82120b1eab1be1582e61d35e0200d (diff) | |
download | libarchive-68e4088e7bca91b6ef6a92dec3ba49ba7170c313.tar.gz |
simplify gitignore a bit
Lets ignore autotool generated files (.la .dirstamp .deps) everywhere
rather than hardcoded specific subdirs. We'll never add files with
those names to the source repo, so that should be OK.
We're already ignoring CMakeFiles/ everywhere (since the rule lacks
a leading / anchor), so we can delete the redundant paths.
Rather than hardcode every possible unittest and related files, add
globs that ignore all *_test related paths in the topdir. We won't
be adding paths like that to the source repo, so it should be OK.
-rw-r--r-- | .gitignore | 47 |
1 files changed, 7 insertions, 40 deletions
@@ -1,19 +1,19 @@ *~ *.o *.exe +*.la *.lo *.cmake +.deps/ .libs/ +.dirstamp Makefile Makefile.in aclocal.m4 autom4te.cache/ bsdcat -bsdcat_test bsdcpio -bsdcpio_test bsdtar -bsdtar_test build/autoconf/compile build/autoconf/config.guess build/autoconf/config.sub @@ -27,50 +27,22 @@ build/autoconf/ltversion.m4 build/autoconf/lt~obsolete.m4 build/autoconf/missing build/pkgconfig/libarchive.pc -cat/.deps/ -cat/.dirstamp -cat/test/.deps/ -cat/test/.dirstamp cat/test/list.h +config.cache config.h config.h.in config.log config.status configure -cpio/.deps/ -cpio/.dirstamp -cpio/test/.deps/ -cpio/test/.dirstamp cpio/test/list.h -libarchive.la -libarchive/.deps/ -libarchive/.dirstamp -libarchive/test/.deps/ -libarchive/test/.dirstamp libarchive/test/list.h -libarchive_fe.la -libarchive_fe/.deps/ -libarchive_fe/.dirstamp -libarchive_test libtool stamp-h1 -tar/.deps/ -tar/.dirstamp -tar/test/.deps/ -tar/test/.dirstamp tar/test/list.h CMakeCache.txt CMakeFiles/ DartConfiguration.tcl cmake.tmp/ -cpio/CMakeFiles/ -cpio/test/CMakeFiles/ -libarchive/CMakeFiles/ -libarchive/test/CMakeFiles/ -tar/CMakeFiles/ -tar/test/CMakeFiles/ -test_utils/.deps/ -test_utils/.dirstamp doc/html/*.html doc/man/*.1 @@ -90,15 +62,10 @@ libarchive/libarchive.so.* .DS_Store -bsdcat_test.log -bsdcat_test.trs -bsdcpio_test.log -bsdcpio_test.trs -bsdtar_test.log -bsdtar_test.trs +/*_test +/*_test.log +/*_test.trs build/autoconf/test-driver -libarchive_test.log -libarchive_test.trs test-suite.log .sw? |