treewide: split .gitignore into separate files
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Fri, 3 Jan 2020 09:03:48 +0000 (10:03 +0100)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Fri, 3 Jan 2020 09:59:52 +0000 (10:59 +0100)
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>
.gitignore
bindings/cxx/examples/.gitignore [new file with mode: 0644]
bindings/cxx/tests/.gitignore [new file with mode: 0644]
man/.gitignore [new file with mode: 0644]
tests/.gitignore [new file with mode: 0644]
tools/.gitignore [new file with mode: 0644]

index 90cd5bd127ef3ed3c903880bf9a42439b2634bcd..488d9d6d6c4fc860eee149bd891d0fba58848b02 100644 (file)
@@ -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 (file)
index 0000000..acb5791
--- /dev/null
@@ -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 (file)
index 0000000..580672e
--- /dev/null
@@ -0,0 +1 @@
+gpiod-cxx-test
diff --git a/man/.gitignore b/man/.gitignore
new file mode 100644 (file)
index 0000000..900429f
--- /dev/null
@@ -0,0 +1 @@
+*.man
diff --git a/tests/.gitignore b/tests/.gitignore
new file mode 100644 (file)
index 0000000..703dc7c
--- /dev/null
@@ -0,0 +1 @@
+gpiod-test
diff --git a/tools/.gitignore b/tools/.gitignore
new file mode 100644 (file)
index 0000000..33bc931
--- /dev/null
@@ -0,0 +1,6 @@
+gpiodetect
+gpioinfo
+gpioget
+gpioset
+gpiomon
+gpiofind