summaryrefslogtreecommitdiff
path: root/desktop-themes/Menta
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-09 14:46:52 +0100
committerraveit65 <[email protected]>2021-03-27 16:17:07 +0100
commit6127af25367a6c423826eea09be9307fcc08d615 (patch)
tree25fadd75dc7a204de17ae353c499b117a3c09b68 /desktop-themes/Menta
parentff751f6c7707d0773f442d73dc38a3065c1b4e0b (diff)
downloadmate-themes-6127af25367a6c423826eea09be9307fcc08d615.tar.bz2
mate-themes-6127af25367a6c423826eea09be9307fcc08d615.tar.xz
build: allow users to disable gettext support (--disable-nls)
Diffstat (limited to 'desktop-themes/Menta')
-rw-r--r--desktop-themes/Menta/Makefile.am18
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)