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/pdf/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'backend/pdf') 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 -- cgit v1.2.1