[totem] build: Add generated Vala files to GITIGNOREFILES



commit bd0cb403561b8ee96a240445f50ab1d166d626c6
Author: Philip Withnall <philip tecnocode co uk>
Date:   Fri Dec 2 14:53:09 2011 +0000

    build: Add generated Vala files to GITIGNOREFILES
    
    They're automatically removed by `make maintainer-clean`, but git.mk doesn't
    know about them.

 src/plugins/rotation/Makefile.am    |    5 +++++
 src/plugins/sample-vala/Makefile.am |    5 +++++
 2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/rotation/Makefile.am b/src/plugins/rotation/Makefile.am
index 5317da3..0fd8167 100644
--- a/src/plugins/rotation/Makefile.am
+++ b/src/plugins/rotation/Makefile.am
@@ -16,4 +16,9 @@ librotation_la_LDFLAGS = $(plugin_ldflags)
 librotation_la_CFLAGS = $(plugin_cflags) -include $(CONFIG_HEADER)
 librotation_la_LIBADD = $(plugin_libadd)
 
+GITIGNOREFILES = \
+	$(librotation_la_SOURCES:.vala=.c) \
+	librotation_la_vala.stamp \
+	$(NULL)
+
 -include $(top_srcdir)/git.mk
diff --git a/src/plugins/sample-vala/Makefile.am b/src/plugins/sample-vala/Makefile.am
index b100930..2bb75a6 100644
--- a/src/plugins/sample-vala/Makefile.am
+++ b/src/plugins/sample-vala/Makefile.am
@@ -16,6 +16,11 @@ libsample_vala_la_LDFLAGS = $(plugin_ldflags)
 libsample_vala_la_CFLAGS = $(plugin_cflags)
 libsample_vala_la_LIBADD = $(plugin_libadd)
 
+GITIGNOREFILES = \
+	$(libsample_vala_la_SOURCES:.vala=.c) \
+	libsample_vala_la_vala.stamp \
+	$(NULL)
+
 # Override to _not_ install the test plugins
 install-pluginLTLIBRARIES:
 install-pluginDATA:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]