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/TraditionalOk/Makefile.am | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'desktop-themes/TraditionalOk') diff --git a/desktop-themes/TraditionalOk/Makefile.am b/desktop-themes/TraditionalOk/Makefile.am index 8956a277..9492b9fa 100644 --- a/desktop-themes/TraditionalOk/Makefile.am +++ b/desktop-themes/TraditionalOk/Makefile.am @@ -1,14 +1,15 @@ -THEME_NAME=TraditionalOk -THEME_IN_FILES=index.theme.in +THEME_NAME = TraditionalOk +theme_in_files = index.theme.in themedir = $(datadir)/themes/$(THEME_NAME) - -theme_DATA = \ - COPYING \ - index.theme +theme_DATA = COPYING index.theme %.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 = \ gtk-2.0 \ @@ -17,5 +18,5 @@ SUBDIRS = \ openbox-3 \ xfwm4 -DISTCLEANFILES = index.theme -EXTRA_DIST = index.theme.in +CLEANFILES = index.theme +EXTRA_DIST = $(theme_in_files) -- cgit v1.2.1