diff options
Diffstat (limited to 'plugins/external-editor/Makefile.am')
-rw-r--r-- | plugins/external-editor/Makefile.am | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/plugins/external-editor/Makefile.am b/plugins/external-editor/Makefile.am index beec48dc29..0c7c22ab8b 100644 --- a/plugins/external-editor/Makefile.am +++ b/plugins/external-editor/Makefile.am @@ -13,7 +13,7 @@ INCLUDES = \ @EVO_PLUGIN_RULE@ -error_DATA = org-gnome-external-editor.error +error_DATA = org-gnome-external-editor-errors.xml errordir = $(privdatadir)/errors plugin_DATA = \ @@ -27,12 +27,28 @@ liborg_gnome_external_editor_la_SOURCES = \ liborg_gnome_external_editor_la_LDFLAGS = -module -avoid-version +schemadir = $(GCONF_SCHEMA_FILE_DIR) +schema_in_files = apps-evolution-external-editor.schemas.in +schema_DATA = $(schema_in_files:.schemas.in=.schemas) + +@INTLTOOL_SCHEMAS_RULE@ + +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 + EXTRA_DIST = \ org-gnome-external-editor.eplug.xml \ - org-gnome-external-editor.error.xml \ - org-gnome-external-editor.xml + org-gnome-external-editor-errors.xml \ + org-gnome-external-editor.xml \ + $(schema_in_files) BUILT_SOURCES = org-gnome-external-editor.eplug \ - org-gnome-external-editor.error + $(error_i18n) CLEANFILES = $(BUILT_SOURCES) + +DISTCLEANFILES = $(schema_DATA) |