diff options
author | Wu Xiaotian <[email protected]> | 2019-08-29 16:19:54 +0800 |
---|---|---|
committer | Robert Antoni Buj Gelonch <[email protected]> | 2019-08-30 21:14:26 +0200 |
commit | 828be64b69942451e95b56a02dde1576af1bb856 (patch) | |
tree | d56c468286291666b5b687560d3eb4f5a51a5d30 /data/Makefile.am | |
parent | d2277c4a74e591fbff12c1d9a049ebd4f68221ea (diff) | |
download | mate-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.am | 11 |
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) \ |