summaryrefslogtreecommitdiff
path: root/desktop-themes/Green-Submarine
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-themes/Green-Submarine')
-rw-r--r--desktop-themes/Green-Submarine/Makefile.am14
-rw-r--r--desktop-themes/Green-Submarine/index.theme.in (renamed from desktop-themes/Green-Submarine/index.theme)0
2 files changed, 6 insertions, 8 deletions
diff --git a/desktop-themes/Green-Submarine/Makefile.am b/desktop-themes/Green-Submarine/Makefile.am
index 5ad8022d..7b50e544 100644
--- a/desktop-themes/Green-Submarine/Makefile.am
+++ b/desktop-themes/Green-Submarine/Makefile.am
@@ -4,7 +4,7 @@ themedir = $(datadir)/themes/$(THEME_NAME)
theme_DATA = index.theme
-EXTRA_DIST = $(theme_DATA)
+EXTRA_DIST = $(theme_DATA) index.theme.in
SUBDIRS = \
cinnamon \
@@ -13,11 +13,9 @@ SUBDIRS = \
gtk-3.0 \
metacity-1
-DIST_SUBDIRS = \
- cinnamon \
- emerald \
- gtk-2.0 \
- gtk-3.0 \
- metacity-1
-
CLEANFILES = index.theme
+
+index.theme: index.theme.in
+ $(AM_V_GEN)sed \
+ -e s!\@BACKGROUND_DIR\@!$(datadir)/backgrounds/mate/desktop! \
+ < $< > $@
diff --git a/desktop-themes/Green-Submarine/index.theme b/desktop-themes/Green-Submarine/index.theme.in
index 3273ed2f..3273ed2f 100644
--- a/desktop-themes/Green-Submarine/index.theme
+++ b/desktop-themes/Green-Submarine/index.theme.in