summaryrefslogtreecommitdiff
path: root/data/Makefile.am
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-08-29 16:19:54 +0800
committerRobert Antoni Buj Gelonch <[email protected]>2019-08-30 21:14:26 +0200
commit828be64b69942451e95b56a02dde1576af1bb856 (patch)
treed56c468286291666b5b687560d3eb4f5a51a5d30 /data/Makefile.am
parentd2277c4a74e591fbff12c1d9a049ebd4f68221ea (diff)
downloadmate-settings-daemon-828be64b69942451e95b56a02dde1576af1bb856.tar.bz2
mate-settings-daemon-828be64b69942451e95b56a02dde1576af1bb856.tar.xz
switch to use gettext
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am11
1 files changed, 6 insertions, 5 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 3fad838..7c6f03f 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -28,17 +28,17 @@ msd_gschemas_in = \
org.mate.SettingsDaemon.plugins.gschema.xml.in \
$(NULL)
-@INTLTOOL_XML_NOMERGE_RULE@
-
gsettings_SCHEMAS = $(msd_gschemas_in:.xml.in=.xml)
@GSETTINGS_RULES@
-@INTLTOOL_DESKTOP_RULE@
desktopdir = $(sysconfdir)/xdg/autostart
desktop_in_files = mate-settings-daemon.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+$(desktop_DATA): $(desktop_in_files)
+ $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
+
servicedir = $(datadir)/dbus-1/services
service_in_files = org.mate.SettingsDaemon.service.in
service_DATA = $(service_in_files:.service.in=.service)
@@ -54,13 +54,14 @@ man_MANS = \
msd-datetime-mechanism.1 \
msd-locate-pointer.1
-@INTLTOOL_XML_NOMERGE_RULE@
-
#disabled until we support it
xmldir = @MATE_KEYBINDINGS_KEYSDIR@
xml_in_files = 50-accessibility.xml.in
xml_DATA = $(xml_in_files:.xml.in=.xml)
+$(xml_DATA): $(xml_in_files)
+ $(AM_V_GEN) GETTEXTDATADIR=$(top_srcdir) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@
+
EXTRA_DIST = \
$(msd_gschemas_in) \
$(service_in_files) \