From: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Date: Fri, 3 Jan 2020 09:03:48 +0000 (+0100)
Subject: treewide: split .gitignore into separate files
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=67756355cec5b56461f9e80f5e4473b565fb575f;p=qemu-gpiodev%2Flibgpiod.git

treewide: split .gitignore into separate files

Cleanup the main .gitignore: remove explicit filenames which are already
implicitly ignored with pattern entries and move all the specific
entries into appropriate sub-directories.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
---

diff --git a/.gitignore b/.gitignore
index 90cd5bd..488d9d6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,21 +1,3 @@
-!.gitignore
-libgpiod.la
-libgpiodcxx.la
-libtools-common.la
-gpiodetect
-gpioinfo
-gpioget
-gpioset
-gpiomon
-gpiofind
-gpiod_cxx_tests
-gpiodetectcxx
-gpiofindcxx
-gpiogetcxx
-gpioinfocxx
-gpiomoncxx
-gpiosetcxx
-gpiod-cxx-test
 *.o
 *.lo
 *.la
@@ -43,9 +25,3 @@ libtool
 *-libtool
 m4/
 stamp-h1
-
-# unit tests
-gpiod-test
-
-# man pages
-*.man
diff --git a/bindings/cxx/examples/.gitignore b/bindings/cxx/examples/.gitignore
new file mode 100644
index 0000000..acb5791
--- /dev/null
+++ b/bindings/cxx/examples/.gitignore
@@ -0,0 +1,6 @@
+gpiodetectcxx
+gpiofindcxx
+gpiogetcxx
+gpioinfocxx
+gpiomoncxx
+gpiosetcxx
diff --git a/bindings/cxx/tests/.gitignore b/bindings/cxx/tests/.gitignore
new file mode 100644
index 0000000..580672e
--- /dev/null
+++ b/bindings/cxx/tests/.gitignore
@@ -0,0 +1 @@
+gpiod-cxx-test
diff --git a/man/.gitignore b/man/.gitignore
new file mode 100644
index 0000000..900429f
--- /dev/null
+++ b/man/.gitignore
@@ -0,0 +1 @@
+*.man
diff --git a/tests/.gitignore b/tests/.gitignore
new file mode 100644
index 0000000..703dc7c
--- /dev/null
+++ b/tests/.gitignore
@@ -0,0 +1 @@
+gpiod-test
diff --git a/tools/.gitignore b/tools/.gitignore
new file mode 100644
index 0000000..33bc931
--- /dev/null
+++ b/tools/.gitignore
@@ -0,0 +1,6 @@
+gpiodetect
+gpioinfo
+gpioget
+gpioset
+gpiomon
+gpiofind