[gitg] Clean generated resource files
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Clean generated resource files
- Date: Fri, 3 Jan 2014 20:15:18 +0000 (UTC)
commit c4139fb6e5581f9266c30b99c054507ba27ca4c3
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Fri Jan 3 21:13:01 2014 +0100
Clean generated resource files
gitg/Makefile.am | 2 ++
libgitg/Makefile.am | 5 ++++-
plugins/diff/Makefile.am | 3 +++
plugins/files/Makefile.am | 3 +++
4 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/gitg/Makefile.am b/gitg/Makefile.am
index fd64fe1..7f1074f 100644
--- a/gitg/Makefile.am
+++ b/gitg/Makefile.am
@@ -81,6 +81,8 @@ GITIGNOREFILES = \
$(gitg_VALASOURCES:%.vala=%.c) \
gitg_vala.stamp
+CLEANFILES = gitg-resources.c
+
EXTRA_DIST = \
resources/gitg-resources.xml \
$(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir)/resources
$(srcdir)/resources/gitg-resources.xml)
diff --git a/libgitg/Makefile.am b/libgitg/Makefile.am
index 4099c43..f44beab 100644
--- a/libgitg/Makefile.am
+++ b/libgitg/Makefile.am
@@ -100,7 +100,6 @@ libgitg_1_0_la_pkgconfig_DATA = libgitg-1.0.pc
gitg-resources.c: resources/resources.xml $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies
--sourcedir $(srcdir)/resources $(srcdir)/resources/resources.xml)
$(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) \
@@ -108,6 +107,10 @@ GITIGNOREFILES = \
libgitg.h \
libgitg_1_0_la_vala.stamp
+CLEANFILES = \
+ $(libgitg_1_0_la_typelib_DATA) \
+ gitg-resources.c
+
EXTRA_DIST = \
$(libgitg_1_0_la_pkgconfig_DATA) \
$(libgitg_1_0_la_gir_DATA) \
diff --git a/plugins/diff/Makefile.am b/plugins/diff/Makefile.am
index 4ce46f0..1b2cf0b 100644
--- a/plugins/diff/Makefile.am
+++ b/plugins/diff/Makefile.am
@@ -35,6 +35,9 @@ GITIGNOREFILES = \
$(libdiff_la_VALASOURCES:%.vala=%.c) \
libdiff_la_vala.stamp
+CLEANFILES = \
+ gitg-diff-resources.c
+
EXTRA_DIST = \
$(libdiff_la_plugin_DATA) \
resources/resources.xml \
diff --git a/plugins/files/Makefile.am b/plugins/files/Makefile.am
index 7a56fce..476b9e3 100644
--- a/plugins/files/Makefile.am
+++ b/plugins/files/Makefile.am
@@ -34,6 +34,9 @@ GITIGNOREFILES = \
$(libfiles_la_VALASOURCES:%.vala=%.c) \
libfiles_la_vala.stamp
+CLEANFILES = \
+ gitg-files-resources.c
+
EXTRA_DIST = \
$(libfiles_la_plugin_DATA) \
resources/resources.xml \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]