From a8d98cb5572363804ffabd771055959826b32f99 Mon Sep 17 00:00:00 2001 From: rbuj Date: Sun, 7 Feb 2021 21:49:22 +0100 Subject: build: allow users to disable gettext support (--disable-nls) --- xattr-tags/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'xattr-tags') diff --git a/xattr-tags/Makefile.am b/xattr-tags/Makefile.am index 51e3f59..c593203 100644 --- a/xattr-tags/Makefile.am +++ b/xattr-tags/Makefile.am @@ -34,7 +34,11 @@ extensiondir = $(datadir)/caja/extensions extension_in_files = libcaja-xattr-tags.caja-extension.desktop.in extension_DATA = $(extension_in_files:.caja-extension.desktop.in=.caja-extension) $(extension_DATA): $(extension_in_files) +if USE_NLS $(AM_V_GEN) $(MSGFMT) --desktop --keyword= --keyword=Copyright --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@ +else + $(AM_V_GEN) cp $< $@ +endif CLEANFILES = $(extension_DATA) -- cgit v1.2.1