summaryrefslogtreecommitdiff
path: root/open-terminal
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-07 21:49:22 +0100
committerraveit65 <[email protected]>2021-02-08 21:23:34 +0100
commita8d98cb5572363804ffabd771055959826b32f99 (patch)
treea571b63a981e000fddb80ceac1013cee91bfec66 /open-terminal
parent546660e4c8668f6f94c5d672499d253f70e4fa78 (diff)
downloadcaja-extensions-a8d98cb5572363804ffabd771055959826b32f99.tar.bz2
caja-extensions-a8d98cb5572363804ffabd771055959826b32f99.tar.xz
build: allow users to disable gettext support (--disable-nls)
Diffstat (limited to 'open-terminal')
-rw-r--r--open-terminal/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/open-terminal/Makefile.am b/open-terminal/Makefile.am
index e0278bb..15526f6 100644
--- a/open-terminal/Makefile.am
+++ b/open-terminal/Makefile.am
@@ -40,7 +40,11 @@ extensiondir = $(datadir)/caja/extensions
extension_in_files = libcaja-open-terminal.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
DISTCLEANFILES = \
org.mate.caja-open-terminal.gschema.xml