summaryrefslogtreecommitdiff
path: root/backend/pixbuf
diff options
context:
space:
mode:
Diffstat (limited to 'backend/pixbuf')
-rw-r--r--backend/pixbuf/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/backend/pixbuf/Makefile.am b/backend/pixbuf/Makefile.am
index 194c6be5..2c9a742b 100644
--- a/backend/pixbuf/Makefile.am
+++ b/backend/pixbuf/Makefile.am
@@ -21,7 +21,11 @@ libpixbufdocument_la_LIBADD = \
backend_in_files = pixbufdocument.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)