aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/face/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/face/Makefile.am')
-rw-r--r--plugins/face/Makefile.am39
1 files changed, 34 insertions, 5 deletions
diff --git a/plugins/face/Makefile.am b/plugins/face/Makefile.am
index 2d307f85c7..29444dd3f2 100644
--- a/plugins/face/Makefile.am
+++ b/plugins/face/Makefile.am
@@ -30,14 +30,43 @@ error_DATA = org-gnome-face.error
errordir = $(privdatadir)/errors
-EXTRA_DIST = \
- org-gnome-face.eplug.xml \
- org-gnome-face.error.xml
+# GConf schemas
-BUILT_SOURCES = \
- org-gnome-face.eplug \
+schemadir = $(GCONF_SCHEMA_FILE_DIR)
+schema_in_files = apps_evolution_eplugin_face.schemas.in
+schema_DATA = $(schema_in_files:.schemas.in=.schemas)
+
+@INTLTOOL_SCHEMAS_RULE@
+
+EXTRA_DIST = \
+ org-gnome-face.eplug.xml \
+ org-gnome-face.error.xml \
+ $(schema_in_files)
+
+BUILT_SOURCES = \
+ org-gnome-face.eplug \
org-gnome-face.error
CLEANFILES = $(BUILT_SOURCES)
+DISTCLEANFILES = $(schema_DATA)
+
+if OS_WIN32
+install-data-local:
+ if test -z "$(DESTDIR)"; then \
+ for p in $(schema_DATA); do \
+ (echo set GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE); \
+ echo $(GCONFTOOL) --makefile-install-rule $$p) >_temp.bat; \
+ cmd /c _temp.bat; \
+ done; \
+ fi
+else
+install-data-local:
+ if test -z "$(DESTDIR)"; then \
+ for p in $(schema_DATA); do \
+ GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $$p; \
+ done; \
+ fi
+endif
+
-include $(top_srcdir)/git.mk