summaryrefslogtreecommitdiff
path: root/backend/dvi/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'backend/dvi/Makefile.am')
-rw-r--r--backend/dvi/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/backend/dvi/Makefile.am b/backend/dvi/Makefile.am
index c94c10ad..26571c6f 100644
--- a/backend/dvi/Makefile.am
+++ b/backend/dvi/Makefile.am
@@ -36,7 +36,11 @@ endif
backend_in_files = dvidocument.atril-backend.desktop.in
backend_DATA = $(backend_in_files:.atril-backend.desktop.in=.atril-backend)
$(backend_DATA): $(backend_in_files)
+if USE_NLS
$(AM_V_GEN) $(MSGFMT) --desktop --keyword=TypeDescription --template $< -d $(top_srcdir)/po -o $@
+else
+ $(AM_V_GEN) cp -f $< $@
+endif
EXTRA_DIST = $(backend_in_files)