[lvm-devel] master - More .gitignore files for an in-source-tree build.

Alasdair Kergon agk at fedoraproject.org
Fri Jun 8 16:34:30 UTC 2012


Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=a2a37f8feeb7e444add976e32b18b2c500c55b8e
Commit:        a2a37f8feeb7e444add976e32b18b2c500c55b8e
Parent:        d644d4e14e4c9f093c009e42b1ae0b1f89b5e756
Author:        Alasdair G Kergon <agk at redhat.com>
AuthorDate:    Fri Jun 8 16:34:43 2012 +0100
Committer:     Alasdair G Kergon <agk at redhat.com>
CommitterDate: Fri Jun 8 16:34:43 2012 +0100

More .gitignore files for an in-source-tree build.

Tell git to ignore files generated by a build inside the source tree.
---
 .gitignore          |    4 ++++
 doc/.gitignore      |    1 +
 include/.gitignore  |    3 +++
 lib/misc/.gitignore |    1 +
 scripts/.gitignore  |    9 +++++++++
 tools/.gitignore    |    2 ++
 6 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore
index 4873702..806dd3f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,11 +1,15 @@
 *.5
 *.8
+*.a
 *.d
 *.o
 *.pc
 *.pot
+*.so
+*.so.*
 
 .export.sym
+.exported_symbols_generated
 .gdb_history
 
 Makefile
diff --git a/doc/.gitignore b/doc/.gitignore
new file mode 100644
index 0000000..ae5a993
--- /dev/null
+++ b/doc/.gitignore
@@ -0,0 +1 @@
+example.conf
diff --git a/include/.gitignore b/include/.gitignore
index fdfc22c..4971e07 100644
--- a/include/.gitignore
+++ b/include/.gitignore
@@ -1 +1,4 @@
+.symlinks
 .symlinks_created
+
+*.h
diff --git a/lib/misc/.gitignore b/lib/misc/.gitignore
new file mode 100644
index 0000000..37a05fe
--- /dev/null
+++ b/lib/misc/.gitignore
@@ -0,0 +1 @@
+lvm-version.h
diff --git a/scripts/.gitignore b/scripts/.gitignore
new file mode 100644
index 0000000..6fd8a2d
--- /dev/null
+++ b/scripts/.gitignore
@@ -0,0 +1,9 @@
+clvmd_init_red_hat
+cmirrord_init_red_hat
+dm_event_systemd_red_hat.service
+lvm2_lvmetad_init_red_hat
+lvm2_lvmetad_systemd_red_hat.service
+lvm2_lvmetad_systemd_red_hat.socket
+lvm2_monitoring_init_red_hat
+lvm2_monitoring_systemd_red_hat.service
+lvm2_tmpfiles_red_hat.conf
diff --git a/tools/.gitignore b/tools/.gitignore
index 94f0c40..d06b2d8 100644
--- a/tools/.gitignore
+++ b/tools/.gitignore
@@ -1 +1,3 @@
 .commands
+dmsetup
+lvm




More information about the lvm-devel mailing list