summaryrefslogtreecommitdiff
path: root/desktop-themes/TraditionalOk
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-09 14:46:52 +0100
committerraveit65 <[email protected]>2021-02-09 22:42:54 +0100
commit62c46148a8553214d2ecd4d096412b9e068ceec3 (patch)
treee505627d4cac5639b6555a678e215c2f5a16aa9f /desktop-themes/TraditionalOk
parent58653911017b1eabb49715752d6936f04ea8b4ff (diff)
downloadmate-themes-62c46148a8553214d2ecd4d096412b9e068ceec3.tar.bz2
mate-themes-62c46148a8553214d2ecd4d096412b9e068ceec3.tar.xz
build: allow users to disable gettext support (--disable-nls)
Diffstat (limited to 'desktop-themes/TraditionalOk')
-rw-r--r--desktop-themes/TraditionalOk/Makefile.am17
1 files changed, 9 insertions, 8 deletions
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)