diff options
author | rbuj <[email protected]> | 2021-02-09 14:46:52 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-03-27 16:17:07 +0100 |
commit | 6127af25367a6c423826eea09be9307fcc08d615 (patch) | |
tree | 25fadd75dc7a204de17ae353c499b117a3c09b68 /icon-themes/ContrastHigh | |
parent | ff751f6c7707d0773f442d73dc38a3065c1b4e0b (diff) | |
download | mate-themes-6127af25367a6c423826eea09be9307fcc08d615.tar.bz2 mate-themes-6127af25367a6c423826eea09be9307fcc08d615.tar.xz |
build: allow users to disable gettext support (--disable-nls)
Diffstat (limited to 'icon-themes/ContrastHigh')
-rw-r--r-- | icon-themes/ContrastHigh/Makefile.am | 9 |
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) |