From 67756355cec5b56461f9e80f5e4473b565fb575f Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski <bgolaszewski@baylibre.com> Date: Fri, 3 Jan 2020 10:03:48 +0100 Subject: [PATCH] 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> --- .gitignore | 24 ------------------------ bindings/cxx/examples/.gitignore | 6 ++++++ bindings/cxx/tests/.gitignore | 1 + man/.gitignore | 1 + tests/.gitignore | 1 + tools/.gitignore | 6 ++++++ 6 files changed, 15 insertions(+), 24 deletions(-) create mode 100644 bindings/cxx/examples/.gitignore create mode 100644 bindings/cxx/tests/.gitignore create mode 100644 man/.gitignore create mode 100644 tests/.gitignore create mode 100644 tools/.gitignore 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 -- 2.30.2