[virt-tools-list] [PATCH 3/5] Update gitignore

Eduardo Lima (Etrunko) etrunko at redhat.com
Thu Oct 29 20:40:38 UTC 2015


Signed-off-by: Eduardo Lima (Etrunko) <etrunko at redhat.com>
---
 Makefile.am     | 5 +++++
 git.mk          | 2 +-
 m4/.gitignore   | 0
 src/Makefile.am | 8 ++++++++
 4 files changed, 14 insertions(+), 1 deletion(-)
 delete mode 100644 m4/.gitignore

diff --git a/Makefile.am b/Makefile.am
index d0e9ab4..9646119 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -48,6 +48,11 @@ MAINTAINERCLEANFILES =				\
 	$(srcdir)/m4/lt~obsolete.m4		\
 	$(NULL)
 
+GITIGNOREFILES =				\
+	AUTHORS					\
+	build-aux/test-driver			\
+	$(NULL)
+
 dist-hook: gen-ChangeLog gen-AUTHORS
 
 # Generate the ChangeLog file (with all entries since the switch to git)
diff --git a/git.mk b/git.mk
index 0b26b23..277e6e3 100644
--- a/git.mk
+++ b/git.mk
@@ -123,7 +123,7 @@ $(srcdir)/.gitignore: Makefile.am $(top_srcdir)/git.mk
 				$(gsettings__enum_file) \
 			; do echo /$$x; done; \
 		fi; \
-		if test -f $(srcdir)/po/Makefile.in.in; then \
+		if test -f $(top_srcdir)/po/Makefile.in.in; then \
 			for x in \
 				po/Makefile.in.in \
 				po/Makefile.in \
diff --git a/m4/.gitignore b/m4/.gitignore
deleted file mode 100644
index e69de29..0000000
diff --git a/src/Makefile.am b/src/Makefile.am
index 1ebc24e..5ce08bc 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -218,4 +218,12 @@ debug_helper_LDFLAGS = $(GLIB2_LIBS) -Wl,--subsystem,windows
 debug_helper_CFLAGS = $(GLIB2_CFLAGS)
 endif
 
+GITIGNOREFILES =	\
+	view/.deps	\
+	view/.dirstamp	\
+	view/.libs	\
+	view/*.lo	\
+	view/*.o	\
+	$(NULL)
+
 -include $(top_srcdir)/git.mk
-- 
2.4.3




More information about the virt-tools-list mailing list