summaryrefslogtreecommitdiff
path: root/desktop-themes/Menta/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-themes/Menta/Makefile.am')
-rw-r--r--desktop-themes/Menta/Makefile.am13
1 files changed, 5 insertions, 8 deletions
diff --git a/desktop-themes/Menta/Makefile.am b/desktop-themes/Menta/Makefile.am
index a806422b..fccf2850 100644
--- a/desktop-themes/Menta/Makefile.am
+++ b/desktop-themes/Menta/Makefile.am
@@ -1,4 +1,7 @@
THEME_NAME=Menta
+THEME_IN_FILES=index.theme.in
+
+@INTLTOOL_THEME_RULE@
themedir = $(datadir)/themes/$(THEME_NAME)
@@ -7,8 +10,6 @@ theme_DATA = \
index.theme \
README
-EXTRA_DIST = $(theme_DATA) index.theme.in
-
SUBDIRS = \
cinnamon \
emerald \
@@ -18,9 +19,5 @@ SUBDIRS = \
unity \
xfwm4
-CLEANFILES = index.theme
-
-index.theme: index.theme.in
- $(AM_V_GEN)sed \
- -e s!\@BACKGROUND_DIR\@!$(datadir)/backgrounds/mate/desktop! \
- < $< > $@
+DISTCLEANFILES = index.theme
+EXTRA_DIST = index.theme.in