summaryrefslogtreecommitdiff
path: root/properties/Makefile.am
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-08 13:36:28 +0100
committerraveit65 <[email protected]>2021-02-10 23:58:25 +0100
commit66de6ed56647df275f2844eb6106349932991579 (patch)
tree56b68e1244af645727ece13032f2ba89fe6cb68f /properties/Makefile.am
parent6b159d0665c67c3c78c2968673e24bf45c2430d2 (diff)
downloadatril-66de6ed56647df275f2844eb6106349932991579.tar.bz2
atril-66de6ed56647df275f2844eb6106349932991579.tar.xz
build: allow users to disable gettext support (--disable-nls)
Diffstat (limited to 'properties/Makefile.am')
-rw-r--r--properties/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/properties/Makefile.am b/properties/Makefile.am
index 74005f0a..5db27bc8 100644
--- a/properties/Makefile.am
+++ b/properties/Makefile.am
@@ -35,7 +35,11 @@ extension_in_in_files = libatril-properties-page.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=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
EXTRA_DIST = $(extension_in_in_files)