From 6127af25367a6c423826eea09be9307fcc08d615 Mon Sep 17 00:00:00 2001 From: rbuj Date: Tue, 9 Feb 2021 14:46:52 +0100 Subject: build: allow users to disable gettext support (--disable-nls) --- icon-themes/ContrastHigh/Makefile.am | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'icon-themes/ContrastHigh') 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) -- cgit v1.2.1