summaryrefslogtreecommitdiff
path: root/icon-themes
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-09 14:46:52 +0100
committerraveit65 <[email protected]>2021-02-09 22:42:54 +0100
commit62c46148a8553214d2ecd4d096412b9e068ceec3 (patch)
treee505627d4cac5639b6555a678e215c2f5a16aa9f /icon-themes
parent58653911017b1eabb49715752d6936f04ea8b4ff (diff)
downloadmate-themes-62c46148a8553214d2ecd4d096412b9e068ceec3.tar.bz2
mate-themes-62c46148a8553214d2ecd4d096412b9e068ceec3.tar.xz
build: allow users to disable gettext support (--disable-nls)
Diffstat (limited to 'icon-themes')
-rw-r--r--icon-themes/ContrastHigh/Makefile.am9
1 files changed, 6 insertions, 3 deletions
diff --git a/icon-themes/ContrastHigh/Makefile.am b/icon-themes/ContrastHigh/Makefile.am
index 8991a59d..bb184747 100644
--- a/icon-themes/ContrastHigh/Makefile.am
+++ b/icon-themes/ContrastHigh/Makefile.am
@@ -1,5 +1,3 @@
-indexthemedir = $(datadir)/icons/ContrastHigh/
-
SUBDIRS = \
16x16 \
22x22 \
@@ -9,11 +7,16 @@ SUBDIRS = \
256x256 \
scalable
+indexthemedir = $(datadir)/icons/ContrastHigh
indextheme_DATA = index.theme
indextheme_in_files = $(indextheme_DATA:.theme=.theme.in)
-$(indextheme_DATA): $(indextheme_in_files)
+%.theme: %.theme.in
+if USE_NLS
$(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
+else
+ $(AM_V_GEN) cp -f $< $@
+endif
CLEANFILES = $(indextheme_DATA)
EXTRA_DIST = $(indextheme_in_files)