diff mbox

.gitignore: distribute the ignore file to sub dirs

Message ID 1416938767-36519-1-git-send-email-mike.holmes@linaro.org
State Rejected
Headers show

Commit Message

Mike Holmes Nov. 25, 2014, 6:06 p.m. UTC
Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
---
 .gitignore                     | 23 ++---------------------
 example/generator/.gitignore   |  1 +
 example/ipsec/.gitignore       |  1 +
 example/l2fwd/.gitignore       |  1 +
 example/odp_example/.gitignore |  1 +
 example/packet/.gitignore      |  1 +
 example/timer/.gitignore       |  1 +
 helper/.gitignore              |  3 +++
 test/api_test/.gitignore       |  4 ++++
 test/validation/.gitignore     |  6 ++++++
 10 files changed, 21 insertions(+), 21 deletions(-)
 create mode 100644 example/generator/.gitignore
 create mode 100644 example/ipsec/.gitignore
 create mode 100644 example/l2fwd/.gitignore
 create mode 100644 example/odp_example/.gitignore
 create mode 100644 example/packet/.gitignore
 create mode 100644 example/timer/.gitignore
 create mode 100644 helper/.gitignore
 create mode 100644 test/api_test/.gitignore
 create mode 100644 test/validation/.gitignore

Comments

Maxim Uvarov Nov. 26, 2014, 12:19 p.m. UTC | #1
On 11/25/2014 09:06 PM, Mike Holmes wrote:
> +++ b/test/validation/.gitignore
> @@ -0,0 +1,6 @@
> +*.log
> +*.trs
> +odp_init
> +odp_queue
> +odp_crypto
> +CUnit-Memory-Dump.xml
xml has to be global. It's like core which stores to PWD, not to 
directory where binary is located.

Maxim.
diff mbox

Patch

diff --git a/.gitignore b/.gitignore
index 9d45504..b6db187 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,32 +21,13 @@  m4/*.m4
 missing
 config.log
 config.status
-helper/config.h.in
-helper/config.h
-helper/stamp-h1
 libtool
 pkgconfig/libodp.pc
 .deps/
 cscope.out
 tags
 lib/
-obj/
-build/
-odp_crypto
-odp_example
-odp_packet
-odp_atomic
-odp_shm
-odp_ring
-odp_timer_ping
-odp_pktio
-odp_timer_test
-odp_generator
-odp_l2fwd
-odp_ipsec
-odp_init
-odp_queue
 doxygen-doc
 test-driver
-test/validation/*.log
-test/validation/*.trs
+core
+.dirstamp
diff --git a/example/generator/.gitignore b/example/generator/.gitignore
new file mode 100644
index 0000000..85aa1d1
--- /dev/null
+++ b/example/generator/.gitignore
@@ -0,0 +1 @@ 
+odp_generator
diff --git a/example/ipsec/.gitignore b/example/ipsec/.gitignore
new file mode 100644
index 0000000..5b410d3
--- /dev/null
+++ b/example/ipsec/.gitignore
@@ -0,0 +1 @@ 
+odp_ipsec
diff --git a/example/l2fwd/.gitignore b/example/l2fwd/.gitignore
new file mode 100644
index 0000000..8563319
--- /dev/null
+++ b/example/l2fwd/.gitignore
@@ -0,0 +1 @@ 
+odp_l2fwd
diff --git a/example/odp_example/.gitignore b/example/odp_example/.gitignore
new file mode 100644
index 0000000..59ca8c8
--- /dev/null
+++ b/example/odp_example/.gitignore
@@ -0,0 +1 @@ 
+odp_example
diff --git a/example/packet/.gitignore b/example/packet/.gitignore
new file mode 100644
index 0000000..0a5c1ed
--- /dev/null
+++ b/example/packet/.gitignore
@@ -0,0 +1 @@ 
+odp_pktio
diff --git a/example/timer/.gitignore b/example/timer/.gitignore
new file mode 100644
index 0000000..eb59265
--- /dev/null
+++ b/example/timer/.gitignore
@@ -0,0 +1 @@ 
+odp_timer_test
diff --git a/helper/.gitignore b/helper/.gitignore
new file mode 100644
index 0000000..f282c15
--- /dev/null
+++ b/helper/.gitignore
@@ -0,0 +1,3 @@ 
+config.h.in
+config.h
+stamp-h1
diff --git a/test/api_test/.gitignore b/test/api_test/.gitignore
new file mode 100644
index 0000000..7ba56c7
--- /dev/null
+++ b/test/api_test/.gitignore
@@ -0,0 +1,4 @@ 
+odp_atomic
+odp_ring
+odp_shm
+odp_timer_ping
diff --git a/test/validation/.gitignore b/test/validation/.gitignore
new file mode 100644
index 0000000..2917c66
--- /dev/null
+++ b/test/validation/.gitignore
@@ -0,0 +1,6 @@ 
+*.log
+*.trs
+odp_init
+odp_queue
+odp_crypto
+CUnit-Memory-Dump.xml