summaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
Diffstat (limited to 'backend')
-rw-r--r--backend/comics/Makefile.am4
-rw-r--r--backend/djvu/Makefile.am4
-rw-r--r--backend/dvi/Makefile.am4
-rw-r--r--backend/epub/Makefile.am6
-rw-r--r--backend/pdf/Makefile.am4
-rw-r--r--backend/pixbuf/Makefile.am4
-rw-r--r--backend/ps/Makefile.am4
-rw-r--r--backend/tiff/Makefile.am4
-rw-r--r--backend/xps/Makefile.am4
9 files changed, 37 insertions, 1 deletions
diff --git a/backend/comics/Makefile.am b/backend/comics/Makefile.am
index 49821093..b27f9b85 100644
--- a/backend/comics/Makefile.am
+++ b/backend/comics/Makefile.am
@@ -23,7 +23,11 @@ libcomicsdocument_la_LIBADD = \
backend_in_files = comicsdocument.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)
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)
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)
diff --git a/backend/epub/Makefile.am b/backend/epub/Makefile.am
index 9eca6519..e1dee6ca 100644
--- a/backend/epub/Makefile.am
+++ b/backend/epub/Makefile.am
@@ -15,7 +15,7 @@ backend_LTLIBRARIES = libepubdocument.la
libepubdocument_la_SOURCES = \
epub-document.c \
- epub-document.h
+ epub-document.h
libepubdocument_la_LDFLAGS = $(BACKEND_LIBTOOL_FLAGS)
libepubdocument_la_LIBADD = \
@@ -29,7 +29,11 @@ backend_in_files = epubdocument.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)
diff --git a/backend/pdf/Makefile.am b/backend/pdf/Makefile.am
index e51dfdca..4934a31d 100644
--- a/backend/pdf/Makefile.am
+++ b/backend/pdf/Makefile.am
@@ -30,6 +30,10 @@ EXTRA_DIST = $(backend_in_files)
CLEANFILES = $(backend_DATA)
$(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
-include $(top_srcdir)/git.mk
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)
diff --git a/backend/ps/Makefile.am b/backend/ps/Makefile.am
index 0cac11ff..7e431376 100644
--- a/backend/ps/Makefile.am
+++ b/backend/ps/Makefile.am
@@ -24,7 +24,11 @@ backend_in_files = psdocument.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)
diff --git a/backend/tiff/Makefile.am b/backend/tiff/Makefile.am
index 1be66eca..5ceaa69c 100644
--- a/backend/tiff/Makefile.am
+++ b/backend/tiff/Makefile.am
@@ -24,7 +24,11 @@ libtiffdocument_la_LIBADD = \
backend_in_files = tiffdocument.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)
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)