summaryrefslogtreecommitdiff
path: root/logview/data
diff options
context:
space:
mode:
Diffstat (limited to 'logview/data')
-rw-r--r--logview/data/Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/logview/data/Makefile.am b/logview/data/Makefile.am
index 15438c88..45f47bb7 100644
--- a/logview/data/Makefile.am
+++ b/logview/data/Makefile.am
@@ -18,10 +18,16 @@ SUBDIRS=icons
desktopdir = $(datadir)/applications
desktop_in_files = mate-system-log.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+
$(desktop_in_files): $(desktop_in_files:.desktop.in=.desktop.in.in)
@sed -e "s|\@VERSION\@|@VERSION@|" $< > $@
+
$(desktop_DATA): $(desktop_in_files)
+if USE_NLS
$(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
+else
+ $(AM_V_GEN) cp $< $@
+endif
man_MANS = mate-system-log.1