Skip to contentSkip to conversation

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

PATCH Alasdair Kergon 1 participant 1 message Jun 8, 2012

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=a2a37f8feeb7e444add976e32b18b2c500c55b8e
Commit:        a2a37f8feeb7e444add976e32b18b2c500c55b8e
Parent:        d644d4e14e4c9f093c009e42b1ae0b1f89b5e756
Author:        Alasdair G Kergon <[email protected]>
AuthorDate:    Fri Jun 8 16:34:43 2012 +0100
Committer:     Alasdair G Kergon <[email protected]>
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(-)
.gitignore +4 -0
index 4873702..806dd3f 100644
@@ -1,11 +1,15 @@
 *.5
 *.8
+*.a
 *.d
 *.o
 *.pc
 *.pot
+*.so
+*.so.*
 
 .export.sym
+.exported_symbols_generated
 .gdb_history
 
 Makefile
doc/.gitignore new file +1 -0
new file mode 100644
index 0000000..ae5a993
@@ -0,0 +1 @@
+example.conf
include/.gitignore +3 -0
index fdfc22c..4971e07 100644
@@ -1 +1,4 @@
+.symlinks
 .symlinks_created
+
+*.h
lib/misc/.gitignore new file +1 -0
new file mode 100644
index 0000000..37a05fe
@@ -0,0 +1 @@
+lvm-version.h
scripts/.gitignore new file +9 -0
new file mode 100644
index 0000000..6fd8a2d
@@ -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
tools/.gitignore +2 -0
index 94f0c40..d06b2d8 100644
@@ -1 +1,3 @@
 .commands
+dmsetup
+lvm