[gnome-games] gnome-sudoku: Clean up data/Makefile.am to pass distcheck
- From: Thomas Hindoe Paaboel Andersen <thomashpa src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-games] gnome-sudoku: Clean up data/Makefile.am to pass distcheck
- Date: Mon, 13 Jul 2009 07:52:07 +0000 (UTC)
commit 996ba722ba6336b23758aaacf02a979e7d5c3cc1
Author: Thomas Hindoe Paaboel Andersen <phomes gmail com>
Date: Mon Jul 13 09:32:27 2009 +0200
gnome-sudoku: Clean up data/Makefile.am to pass distcheck
gnome-sudoku/data/Makefile.am | 23 +++++++++++++++++++++--
1 files changed, 21 insertions(+), 2 deletions(-)
---
diff --git a/gnome-sudoku/data/Makefile.am b/gnome-sudoku/data/Makefile.am
index 17248f5..389a946 100644
--- a/gnome-sudoku/data/Makefile.am
+++ b/gnome-sudoku/data/Makefile.am
@@ -18,7 +18,26 @@ schemadir = $(GCONF_SCHEMA_FILE_DIR)
schema_DATA = $(schema_in_files:.schemas.in=.schemas)
endif
- INTLTOOL_SCHEMAS_RULE@
+install-schemas-local: $(schema_DATA)
+if GCONF_SCHEMAS_INSTALL
+ if test -z "$(DESTDIR)" ; then \
+ for p in $^ ; do \
+ GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $$p 2>&1 > /dev/null; \
+ done \
+ fi
+endif
+
+install-data-local: install-schemas-local
+
+EXTRA_DIST = \
+ $(puzzle_DATA) \
+ $(ui_DATA) \
+ $(schema_in_files)
+
+CLEANFILES = \
+ $(schema_DATA)
-EXTRA_DIST = $(puzzle_DATA) $(ui_DATA)
+DISTCLEANFILES = \
+ $(schema_DATA)
+ INTLTOOL_SCHEMAS_RULE@
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]