From 66de6ed56647df275f2844eb6106349932991579 Mon Sep 17 00:00:00 2001 From: rbuj Date: Mon, 8 Feb 2021 13:36:28 +0100 Subject: build: allow users to disable gettext support (--disable-nls) --- backend/tiff/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'backend/tiff/Makefile.am') 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) -- cgit v1.2.1