summaryrefslogtreecommitdiff
path: root/data/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am69
1 files changed, 69 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
new file mode 100644
index 0000000..2fba955
--- /dev/null
+++ b/data/Makefile.am
@@ -0,0 +1,69 @@
+NULL =
+
+@INTLTOOL_SCHEMAS_RULE@
+
+schemasdir = $(MATECONF_SCHEMA_FILE_DIR)
+schemas_in_files = \
+ mate-settings-daemon.schemas.in \
+ apps_mate_settings_daemon_housekeeping.schemas.in \
+ apps_mate_settings_daemon_keybindings.schemas.in \
+ desktop_mate_font_rendering.schemas.in \
+ desktop_mate_keybindings.schemas.in \
+ apps_mate_settings_daemon_xrandr.schemas.in \
+ desktop_mate_peripherals_touchpad.schemas.in \
+ desktop_mate_peripherals_smartcard.schemas.in \
+ $(NULL)
+
+schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
+
+@INTLTOOL_DESKTOP_RULE@
+desktopdir = $(sysconfdir)/xdg/autostart
+desktop_in_files = mate-settings-daemon.desktop.in
+desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+
+servicedir = $(datadir)/dbus-1/services
+service_in_files = org.mate.SettingsDaemon.service.in
+service_DATA = $(service_in_files:.service.in=.service)
+
+org.mate.SettingsDaemon.service: org.mate.SettingsDaemon.service.in Makefile
+ @sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = mate-settings-daemon.pc
+
+@INTLTOOL_XML_NOMERGE_RULE@
+
+xmldir = @MATE_KEYBINDINGS_KEYSDIR@
+xml_in_files = 50-accessibility.xml.in
+xml_DATA = $(xml_in_files:.xml.in=.xml)
+
+EXTRA_DIST = \
+ $(schemas_in_files) \
+ $(service_in_files) \
+ $(desktop_in_files) \
+ $(xml_in_files) \
+ mate-settings-daemon.pc.in \
+ $(NULL)
+
+DISTCLEANFILES = \
+ $(schemas_DATA) \
+ $(service_DATA) \
+ $(desktop_DATA) \
+ $(xml_DATA) \
+ $(NULL)
+
+MAINTAINERCLEANFILES = \
+ *~ \
+ Makefile.in
+
+if MATECONF_SCHEMAS_INSTALL
+# don't do this if we are building in eg. rpm
+install-data-local: $(schemas_DATA)
+ if test -z "$(DESTDIR)" ; then \
+ for p in $(schemas_DATA) ; do \
+ MATECONF_CONFIG_SOURCE=$(MATECONF_SCHEMA_CONFIG_SOURCE) $(MATECONFTOOL) --makefile-install-rule $(top_builddir)/data/$$p 2>&1 > /dev/null; \
+ done \
+ fi
+else
+install-data-local:
+endif