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