[gnome-music: 3/4] Silence compilation of the schema, and compile only if changed
- From: Vadim Rutkovsky <vrutkovsky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music: 3/4] Silence compilation of the schema, and compile only if changed
- Date: Mon, 5 Aug 2013 09:57:54 +0000 (UTC)
commit 8187f871fb1e099a31c5a84156059343cda02bf2
Author: Arnel A. Borja <arnelborja src gnome org>
Date: Sun Aug 4 10:57:52 2013 +0800
Silence compilation of the schema, and compile only if changed
The schema is always created on `make all' because the recipe is on the
all-local target. Move it to a separate target instead.
data/Makefile.am | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 4e58aa1..beafd8e 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -45,6 +45,10 @@ update-icon-cache:
gsettings_SCHEMAS = org.gnome.Music.gschema.xml
+# For uninstalled use
+gschemas.compiled: $(gsettings_SCHEMAS) Makefile
+ $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) $(builddir)
+
@GSETTINGS_RULES@
EXTRA_DIST = \
@@ -62,8 +66,6 @@ CLEANFILES = \
gschemas.compiled \
$(NULL)
-# For uninstalled use
-all-local:
- $(GLIB_COMPILE_SCHEMAS) $(builddir)
+all-local: gschemas.compiled
-include $(top_srcdir)/git.mk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]