[gitg] Added GITIGNOREFILES for vala sources
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Added GITIGNOREFILES for vala sources
- Date: Fri, 3 Jan 2014 20:15:13 +0000 (UTC)
commit 60c16f5cfe6a68be6c8c713c22aa07a541cd4617
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Fri Jan 3 21:12:42 2014 +0100
Added GITIGNOREFILES for vala sources
gitg/Makefile.am | 4 ++++
libgitg-ext/Makefile.am | 11 ++++++++++-
libgitg/Makefile.am | 6 ++++++
plugins/diff/Makefile.am | 4 ++++
plugins/files/Makefile.am | 4 ++++
tests/Makefile.am | 8 ++++++++
tests/libgitg/Makefile.am | 4 ++++
7 files changed, 40 insertions(+), 1 deletions(-)
---
diff --git a/gitg/Makefile.am b/gitg/Makefile.am
index 8792c1c..fd64fe1 100644
--- a/gitg/Makefile.am
+++ b/gitg/Makefile.am
@@ -77,6 +77,10 @@ gitg-resources.c: resources/gitg-resources.xml $(shell $(GLIB_COMPILE_RESOURCES)
--sourcedir $(srcdir)/resources \
--target "$@" "$<"
+GITIGNOREFILES = \
+ $(gitg_VALASOURCES:%.vala=%.c) \
+ gitg_vala.stamp
+
EXTRA_DIST = \
resources/gitg-resources.xml \
$(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir)/resources
$(srcdir)/resources/gitg-resources.xml)
diff --git a/libgitg-ext/Makefile.am b/libgitg-ext/Makefile.am
index efa1c0e..5def81b 100644
--- a/libgitg-ext/Makefile.am
+++ b/libgitg-ext/Makefile.am
@@ -101,7 +101,16 @@ gitg-ext-resources.c: resources/resources.xml $(shell $(GLIB_COMPILE_RESOURCES)
--sourcedir $(srcdir)/resources \
--target "$@" "$<"
-CLEANFILES = $(libgitg_ext_1_0_la_typelib_DATA)
+GITIGNOREFILES = \
+ $(libgitg_ext_1_0_la_VALA_FILES:%.vala=%.c) \
+ gitg-ext-resources.c \
+ $(libgitg_ext_1_0_la_gir_DATA) \
+ libgitg-ext-1.0.vapi \
+ libgitg-ext.h \
+ libgitg_ext_1_0_la_vala.stamp
+
+CLEANFILES = \
+ $(libgitg_ext_1_0_la_typelib_DATA)
EXTRA_DIST = \
$(libgitg_ext_1_0_la_pkgconfig_DATA) \
diff --git a/libgitg/Makefile.am b/libgitg/Makefile.am
index c1e4bc3..4099c43 100644
--- a/libgitg/Makefile.am
+++ b/libgitg/Makefile.am
@@ -101,6 +101,12 @@ gitg-resources.c: resources/resources.xml $(shell $(GLIB_COMPILE_RESOURCES) --ge
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target="$@" --sourcedir=$(srcdir)/resources --generate-source
$(srcdir)/resources/resources.xml
CLEANFILES = $(libgitg_1_0_la_typelib_DATA)
+GITIGNOREFILES = \
+ $(libgitg_1_0_la_VALA_FILES:%.vala=%.c) \
+ $(libgitg_1_0_la_gir_DATA) \
+ libgitg-1.0.vapi \
+ libgitg.h \
+ libgitg_1_0_la_vala.stamp
EXTRA_DIST = \
$(libgitg_1_0_la_pkgconfig_DATA) \
diff --git a/plugins/diff/Makefile.am b/plugins/diff/Makefile.am
index 79d6a34..4ce46f0 100644
--- a/plugins/diff/Makefile.am
+++ b/plugins/diff/Makefile.am
@@ -31,6 +31,10 @@ gitg-diff-resources.c: resources/resources.xml $(shell $(GLIB_COMPILE_RESOURCES)
--sourcedir $(srcdir)/resources \
--target "$@" "$<"
+GITIGNOREFILES = \
+ $(libdiff_la_VALASOURCES:%.vala=%.c) \
+ libdiff_la_vala.stamp
+
EXTRA_DIST = \
$(libdiff_la_plugin_DATA) \
resources/resources.xml \
diff --git a/plugins/files/Makefile.am b/plugins/files/Makefile.am
index e7bf253..7a56fce 100644
--- a/plugins/files/Makefile.am
+++ b/plugins/files/Makefile.am
@@ -30,6 +30,10 @@ gitg-files-resources.c: resources/resources.xml $(shell $(GLIB_COMPILE_RESOURCES
--sourcedir $(srcdir)/resources \
--target "$@" "$<"
+GITIGNOREFILES = \
+ $(libfiles_la_VALASOURCES:%.vala=%.c) \
+ libfiles_la_vala.stamp
+
EXTRA_DIST = \
$(libfiles_la_plugin_DATA) \
resources/resources.xml \
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 9b69add..9aaf8be 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -33,6 +33,14 @@ progress_bin_LDADD = $(GITG_PLUGIN_LIBS)
progress_bin_CFLAGS = $(tests_common_cflags)
progress_bin_CPPFLAGS = $(tests_common_cppflags)
+GITIGNOREFILES = \
+ $(diff_view_SOURCES:%.vala=%.c) \
+ diff_view_vala.stamp \
+ $(repository_list_box_SOURCES:%.vala=%.c) \
+ repository_list_box_vala.stamp \
+ $(progress_bin_SOURCES:%.vala=%.c) \
+ progress_bin_vala.stamp
+
-include $(top_srcdir)/git.mk
# vi:ts=8:noet
diff --git a/tests/libgitg/Makefile.am b/tests/libgitg/Makefile.am
index b269531..48756b0 100644
--- a/tests/libgitg/Makefile.am
+++ b/tests/libgitg/Makefile.am
@@ -44,6 +44,10 @@ test_libgitg_SOURCES = \
test-commit.vala \
test-encoding.vala
+GITIGNOREFILES = \
+ $(test_libgitg_SOURCES:%.vala=%.c) \
+ test_libgitg_vala.stamp
+
EXTRA_DIST = gitg-assert.h gitg-assert.vapi
-include $(top_srcdir)/git.mk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]