summaryrefslogtreecommitdiff
path: root/caja
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-08 11:13:05 +0100
committerraveit65 <[email protected]>2021-02-09 10:27:40 +0100
commit0ff5527f5b057d26e75ea7c44ec4ea809c140cdc (patch)
tree6771dc459f2c954cd82b5dbe8114a6603f742338 /caja
parent7839311c2c203323609b89f589294778bb4e980f (diff)
downloadengrampa-0ff5527f5b057d26e75ea7c44ec4ea809c140cdc.tar.bz2
engrampa-0ff5527f5b057d26e75ea7c44ec4ea809c140cdc.tar.xz
build: allow users to disable gettext support (--disable-nls)
Diffstat (limited to 'caja')
-rw-r--r--caja/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/caja/Makefile.am b/caja/Makefile.am
index b8310c5..a2c9d06 100644
--- a/caja/Makefile.am
+++ b/caja/Makefile.am
@@ -23,7 +23,11 @@ extension_in_in_files = libcaja-engrampa.caja-extension.desktop.in.in
extension_in_files = $(extension_in_in_files:.caja-extension.desktop.in.in=.caja-extension.desktop.in)
extension_DATA = $(extension_in_files:.caja-extension.desktop.in=.caja-extension)
$(extension_DATA): $(extension_in_files)
- $(AM_V_GEN) $(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@
+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 -f $< $@
+endif
DISTCLEANFILES = $(extension_in_files)
CLEANFILES = $(extension_DATA)