From a2a37f8feeb7e444add976e32b18b2c500c55b8e Mon Sep 17 00:00:00 2001 From: Alasdair G Kergon Date: Fri, 8 Jun 2012 16:34:43 +0100 Subject: [PATCH] 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(+) create mode 100644 doc/.gitignore create mode 100644 lib/misc/.gitignore create mode 100644 scripts/.gitignore diff --git a/.gitignore b/.gitignore index 4873702a7..806dd3fa3 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 000000000..ae5a9932f --- /dev/null +++ b/doc/.gitignore @@ -0,0 +1 @@ +example.conf diff --git a/include/.gitignore b/include/.gitignore index fdfc22c7e..4971e071a 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 000000000..37a05fe2b --- /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 000000000..6fd8a2db8 --- /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 94f0c40b2..d06b2d832 100644 --- a/tools/.gitignore +++ b/tools/.gitignore @@ -1 +1,3 @@ .commands +dmsetup +lvm