summaryrefslogtreecommitdiff
path: root/desktop-themes/TraditionalOk/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-themes/TraditionalOk/Makefile.am')
-rw-r--r--desktop-themes/TraditionalOk/Makefile.am13
1 files changed, 5 insertions, 8 deletions
diff --git a/desktop-themes/TraditionalOk/Makefile.am b/desktop-themes/TraditionalOk/Makefile.am
index d07c1ee1..97df9f09 100644
--- a/desktop-themes/TraditionalOk/Makefile.am
+++ b/desktop-themes/TraditionalOk/Makefile.am
@@ -1,4 +1,7 @@
THEME_NAME=TraditionalOk
+THEME_IN_FILES=index.theme.in
+
+@INTLTOOL_THEME_RULE@
themedir = $(datadir)/themes/$(THEME_NAME)
@@ -6,8 +9,6 @@ theme_DATA = \
COPYING \
index.theme
-EXTRA_DIST = $(theme_DATA) index.theme.in
-
SUBDIRS = \
gtk-2.0 \
gtk-3.0 \
@@ -15,9 +16,5 @@ SUBDIRS = \
openbox-3 \
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