summaryrefslogtreecommitdiff
path: root/backend/djvu
diff options
context:
space:
mode:
Diffstat (limited to 'backend/djvu')
-rw-r--r--backend/djvu/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/backend/djvu/Makefile.am b/backend/djvu/Makefile.am
index 1f28ae76..a25134e8 100644
--- a/backend/djvu/Makefile.am
+++ b/backend/djvu/Makefile.am
@@ -28,7 +28,11 @@ libdjvudocument_la_LIBADD = \
backend_in_files = djvudocument.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)