summaryrefslogtreecommitdiff
path: root/data/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index fdcfcfc..1e81381 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -5,18 +5,21 @@ SUBDIRS = \
sounds \
$(NULL)
-@INTLTOOL_DESKTOP_RULE@
if ENABLE_STATUSICON
autostartdir = $(sysconfdir)/xdg/autostart
endif
autostart_in_files = mate-volume-control-status-icon.desktop.in
if ENABLE_STATUSICON
autostart_DATA = $(autostart_in_files:.desktop.in=.desktop)
+$(autostart_DATA): $(autostart_in_files)
+ $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
endif
appsdir = $(datadir)/applications
apps_in_files = mate-volume-control.desktop.in
apps_DATA = $(apps_in_files:.desktop.in=.desktop)
+$(apps_DATA): $(apps_in_files)
+ $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
EXTRA_DIST = \
$(autostart_in_files) \