summaryrefslogtreecommitdiff
path: root/backend/comics/Makefile.am
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-08 13:36:28 +0100
committerraveit65 <[email protected]>2021-02-10 23:58:25 +0100
commit66de6ed56647df275f2844eb6106349932991579 (patch)
tree56b68e1244af645727ece13032f2ba89fe6cb68f /backend/comics/Makefile.am
parent6b159d0665c67c3c78c2968673e24bf45c2430d2 (diff)
downloadatril-66de6ed56647df275f2844eb6106349932991579.tar.bz2
atril-66de6ed56647df275f2844eb6106349932991579.tar.xz
build: allow users to disable gettext support (--disable-nls)
Diffstat (limited to 'backend/comics/Makefile.am')
-rw-r--r--backend/comics/Makefile.am4
1 files changed, 4 insertions, 0 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)