From 4f0f1ca68c0054b66c1262f5efe0194a34ae5526 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Fri, 15 Nov 2013 15:55:04 -0500 Subject: [PATCH] Review/update .gitignore files Merge potentially useful patterns taken from other projects. Some application specific patterns were move to their respective directories. The only noticeable change is that *.patch is ignore to prevent accidental checkin of patches. The pattern "test-driver" could not be found and was removed. The test directory had not been updated since the move of all test cases in a single binary. Signed-off-by: Gaetan Nadon Signed-off-by: Peter Hutterer --- .gitignore | 69 ++++++++++++++++++++++++++------------------- doc/.gitignore | 2 ++ libevdev/.gitignore | 1 + m4/.gitignore | 5 ++++ test/.gitignore | 9 ++---- tools/.gitignore | 1 + 6 files changed, 51 insertions(+), 36 deletions(-) create mode 100644 doc/.gitignore create mode 100644 libevdev/.gitignore create mode 100644 m4/.gitignore create mode 100644 tools/.gitignore diff --git a/.gitignore b/.gitignore index 40cf5e1..957e4c0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,12 @@ +# GNU Build System (Autotools) aclocal.m4 +*.announce autom4te.cache/ autoscan.log +build-aux/ ChangeLog compile +config.cache config.guess config.h config.h.in @@ -15,45 +19,52 @@ config.sub configure configure.scan depcomp -.deps/ -INSTALL +.dirstamp install-sh -.libs/ libtool -libtool.m4 ltmain.sh -lt~obsolete.m4 -ltoptions.m4 -ltsugar.m4 -ltversion.m4 Makefile Makefile.in mdate-sh missing mkinstalldirs -*.pc -py-compile stamp-h? -symlink-tree -texinfo.tex -ylwrap -*.la -*.lo -*.o +# Edit Compile Debug Document Distribute *~ -*.swp -.vimdir -*.tar.* -*.3 -libevdev-events -event-names.h -html -libevdev-*/ +*.[0-9] +*.[0-9]x +*.bak +*.bin +core +.deps/ +*.dll +*.exe +*.gcda *.gcno *.gcov -*.gcda -gcov-report.txt -test-driver -libevdev.doxygen -*.announce +*.kld +*.ko +*.ko.cmd +*.lai +.libs/ +*.l[oa] +*.[oa] +*.objq +*.patch +*.pc +*.pdb +*.pyc +py-compile +*.pyo +*.so +*.swo +*.swp +symlink-tree tags +*.tar.bz2 +*.tar.gz +*.tar.xz +texinfo.tex +.vimdir +ylwrap +# Application Specific Files diff --git a/doc/.gitignore b/doc/.gitignore new file mode 100644 index 0000000..823fa26 --- /dev/null +++ b/doc/.gitignore @@ -0,0 +1,2 @@ +html/ +libevdev.doxygen diff --git a/libevdev/.gitignore b/libevdev/.gitignore new file mode 100644 index 0000000..339d72d --- /dev/null +++ b/libevdev/.gitignore @@ -0,0 +1 @@ +event-names.h diff --git a/m4/.gitignore b/m4/.gitignore new file mode 100644 index 0000000..38066dd --- /dev/null +++ b/m4/.gitignore @@ -0,0 +1,5 @@ +libtool.m4 +ltoptions.m4 +ltsugar.m4 +ltversion.m4 +lt~obsolete.m4 diff --git a/test/.gitignore b/test/.gitignore index 8fdc8e1..3117f82 100644 --- a/test/.gitignore +++ b/test/.gitignore @@ -1,7 +1,2 @@ -libevdev-print -libevdev-events - -# ignore all tests, but not .c/.h files -test-* -!test-*.c -!test-*.h +gcov-report.txt +test-libevdev diff --git a/tools/.gitignore b/tools/.gitignore new file mode 100644 index 0000000..a511263 --- /dev/null +++ b/tools/.gitignore @@ -0,0 +1 @@ +libevdev-events -- 2.34.1