From 62c46148a8553214d2ecd4d096412b9e068ceec3 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) --- desktop-themes/Menta/Makefile.am | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'desktop-themes/Menta') 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) -- cgit v1.2.1