summaryrefslogtreecommitdiff
path: root/plugins/rfkill/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/rfkill/Makefile.am')
-rw-r--r--plugins/rfkill/Makefile.am9
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/rfkill/Makefile.am b/plugins/rfkill/Makefile.am
index e1b8f11..f78606a 100644
--- a/plugins/rfkill/Makefile.am
+++ b/plugins/rfkill/Makefile.am
@@ -29,9 +29,12 @@ librfkill_la_LIBADD = \
$(RFKILL_LIBS) \
$(SETTINGS_PLUGIN_LIBS)
-plugin_in_files = rfkill.mate-settings-plugin.in
+plugin_in_files = rfkill.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)
+
+$(plugin_DATA): $(plugin_in_files)
+ $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
udevrulesdir = $(prefix)/lib/udev/rules.d
udevrules_DATA = 61-mate-settings-daemon-rfkill.rules
@@ -39,5 +42,3 @@ udevrules_DATA = 61-mate-settings-daemon-rfkill.rules
EXTRA_DIST = $(plugin_in_files) $(udevrules_DATA)
CLEANFILES = $(plugin_DATA)
DISTCLEANFILES = $(plugin_DATA)
-
-@MSD_INTLTOOL_PLUGIN_RULE@