summaryrefslogtreecommitdiff
path: root/cursor-themes
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 /cursor-themes
parent58653911017b1eabb49715752d6936f04ea8b4ff (diff)
downloadmate-themes-62c46148a8553214d2ecd4d096412b9e068ceec3.tar.bz2
mate-themes-62c46148a8553214d2ecd4d096412b9e068ceec3.tar.xz
build: allow users to disable gettext support (--disable-nls)
Diffstat (limited to 'cursor-themes')
-rw-r--r--cursor-themes/mate-black/Makefile.am21
1 files changed, 11 insertions, 10 deletions
diff --git a/cursor-themes/mate-black/Makefile.am b/cursor-themes/mate-black/Makefile.am
index 3bf75550..0c379c86 100644
--- a/cursor-themes/mate-black/Makefile.am
+++ b/cursor-themes/mate-black/Makefile.am
@@ -1,16 +1,17 @@
-THEME_NAME=mate-black
-THEME_IN_FILES=index.theme.in
+THEME_NAME = mate-black
themedir = $(datadir)/icons/$(THEME_NAME)
+theme_in_files = index.theme.in
+theme_DATA = $(theme_in_files:.theme.in=.theme)
-theme_DATA = \
- index.theme
-
-$(theme_DATA): $(THEME_IN_FILES)
+%.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 = \
- cursors
+SUBDIRS = cursors
-DISTCLEANFILES = index.theme
-EXTRA_DIST = index.theme.in
+CLEANFILES = $(theme_DATA)
+EXTRA_DIST = $(theme_in_files)