diff options
author | rbuj <[email protected]> | 2021-02-09 14:46:52 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-02-09 22:42:54 +0100 |
commit | 62c46148a8553214d2ecd4d096412b9e068ceec3 (patch) | |
tree | e505627d4cac5639b6555a678e215c2f5a16aa9f /desktop-themes/Menta/Makefile.am | |
parent | 58653911017b1eabb49715752d6936f04ea8b4ff (diff) | |
download | mate-themes-62c46148a8553214d2ecd4d096412b9e068ceec3.tar.bz2 mate-themes-62c46148a8553214d2ecd4d096412b9e068ceec3.tar.xz |
build: allow users to disable gettext support (--disable-nls)
Diffstat (limited to 'desktop-themes/Menta/Makefile.am')
-rw-r--r-- | desktop-themes/Menta/Makefile.am | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/desktop-themes/Menta/Makefile.am b/desktop-themes/Menta/Makefile.am index ca84f46b..cdc7dc86 100644 --- a/desktop-themes/Menta/Makefile.am +++ b/desktop-themes/Menta/Makefile.am @@ -1,15 +1,15 @@ -THEME_NAME=Menta -THEME_IN_FILES=index.theme.in +THEME_NAME = Menta +theme_in_files = index.theme.in themedir = $(datadir)/themes/$(THEME_NAME) - -theme_DATA = \ - COPYING \ - index.theme \ - README +theme_DATA = COPYING index.theme README %.theme: %.theme.in +if USE_NLS $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ +else + $(AM_V_GEN) cp -f $< $@ +endif SUBDIRS = \ cinnamon \ @@ -20,5 +20,5 @@ SUBDIRS = \ unity \ xfwm4 -DISTCLEANFILES = index.theme -EXTRA_DIST = index.theme.in +CLEANFILES = index.theme +EXTRA_DIST = $(theme_in_files) |