summaryrefslogtreecommitdiff
path: root/desktop-directories/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-directories/Makefile.am')
-rw-r--r--desktop-directories/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/desktop-directories/Makefile.am b/desktop-directories/Makefile.am
index d3f8cb4..b09d2ee 100644
--- a/desktop-directories/Makefile.am
+++ b/desktop-directories/Makefile.am
@@ -30,7 +30,11 @@ directory_in_files = \
directory_DATA = $(directory_in_files:.directory.in=.directory)
%.directory: %.directory.in
+if USE_NLS
$(AM_V_GEN) $(MSGFMT) --desktop --keyword= --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@
+else
+ $(AM_V_GEN) cp $< $@
+endif
EXTRA_DIST= $(directory_in_files)