summaryrefslogtreecommitdiff
path: root/plugins/xrandr/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 /plugins/xrandr/Makefile.am
parentd2277c4a74e591fbff12c1d9a049ebd4f68221ea (diff)
downloadmate-settings-daemon-828be64b69942451e95b56a02dde1576af1bb856.tar.bz2
mate-settings-daemon-828be64b69942451e95b56a02dde1576af1bb856.tar.xz
switch to use gettext
Diffstat (limited to 'plugins/xrandr/Makefile.am')
-rw-r--r--plugins/xrandr/Makefile.am7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/xrandr/Makefile.am b/plugins/xrandr/Makefile.am
index f5d7341..16c67ca 100644
--- a/plugins/xrandr/Makefile.am
+++ b/plugins/xrandr/Makefile.am
@@ -67,12 +67,13 @@ libxrandr_la_LIBADD = \
$(MATE_DESKTOP_LIBS)
plugin_in_files = \
- xrandr.mate-settings-plugin.in
+ xrandr.mate-settings-plugin.desktop.in
-plugin_DATA = $(plugin_in_files:.mate-settings-plugin.in=.mate-settings-plugin)
+plugin_DATA = $(plugin_in_files:.mate-settings-plugin.desktop.in=.mate-settings-plugin)
EXTRA_DIST = $(plugin_in_files) $(ICON_FILES) msd-xrandr-manager.xml
CLEANFILES = $(plugin_DATA) $(BUILT_SOURCES)
DISTCLEANFILES = $(plugin_DATA)
-@MSD_INTLTOOL_PLUGIN_RULE@
+$(plugin_DATA): $(plugin_in_files)
+ $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@