summaryrefslogtreecommitdiff
path: root/data/Makefile.am
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-09-09 15:20:06 +0200
committerinfirit <[email protected]>2015-09-09 15:20:06 +0200
commit9aaeb5509420442b9ead6a8bbbb9b7ab32c38cdf (patch)
tree5ff63b2de6d26420f57a2d1932fb5bf82809d815 /data/Makefile.am
parent33f89b9f1c7729075637327e2ff29dbb05f55a0a (diff)
downloadmate-notification-daemon-9aaeb5509420442b9ead6a8bbbb9b7ab32c38cdf.tar.bz2
mate-notification-daemon-9aaeb5509420442b9ead6a8bbbb9b7ab32c38cdf.tar.xz
Rework gsettings schema building
* Bump intltool required version for gsettings support * Extract strings with intltool directly * Let autoconf generate the xml files
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am8
1 files changed, 3 insertions, 5 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 1aec612..a972ef1 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -16,18 +16,16 @@ iconscalable_DATA = icons/scalable/mate-notification-properties.svg
servicedir = $(DBUS_SERVICES_DIR)
service_DATA = org.freedesktop.mate.Notifications.service
-gsettings_SCHEMAS = org.mate.NotificationDaemon.gschema.xml
+gsettingsschema_in_files = org.mate.NotificationDaemon.gschema.xml.in
+gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml)
@INTLTOOL_XML_NOMERGE_RULE@
@GSETTINGS_RULES@
-%.gschema.xml.in: %.gschema.xml.in.in Makefile
- $(AM_V_GEN) $(SED) -e 's^\@GETTEXT_PACKAGE\@^$(GETTEXT_PACKAGE)^g' < $< > $@
-
convertdir = $(datadir)/MateConf/gsettings
convert_DATA = mate-notification-daemon.convert
EXTRA_DIST = \
- $(gsettings_SCHEMAS).in.in \
+ $(gsettingsschema_in_files) \
$(convert_DATA) \
$(service_DATA) \
$(icon16_DATA) \