aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2012-06-18 08:46:02 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-07-02 16:03:08 +0800
commit7aaacb249dd73f815c028ce0b5a3ec5ca783f69b (patch)
treea0c36ba59f869851c1347ac16746795088660915 /data
parentb4228fb1ec2180ae7e7df789df0287c67958c9ec (diff)
downloadgsoc2013-empathy-7aaacb249dd73f815c028ce0b5a3ec5ca783f69b.tar
gsoc2013-empathy-7aaacb249dd73f815c028ce0b5a3ec5ca783f69b.tar.gz
gsoc2013-empathy-7aaacb249dd73f815c028ce0b5a3ec5ca783f69b.tar.bz2
gsoc2013-empathy-7aaacb249dd73f815c028ce0b5a3ec5ca783f69b.tar.lz
gsoc2013-empathy-7aaacb249dd73f815c028ce0b5a3ec5ca783f69b.tar.xz
gsoc2013-empathy-7aaacb249dd73f815c028ce0b5a3ec5ca783f69b.tar.zst
gsoc2013-empathy-7aaacb249dd73f815c028ce0b5a3ec5ca783f69b.zip
Install Boxes theme
Uninstall needs work. Why is Automake so bad with directories?
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am2
-rw-r--r--data/themes/Makefile.am35
2 files changed, 36 insertions, 1 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index e22d909e3..65c724251 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = icons
+SUBDIRS = icons themes
desktopdir = $(datadir)/applications
desktop_in_files = \
diff --git a/data/themes/Makefile.am b/data/themes/Makefile.am
new file mode 100644
index 000000000..dd82e2481
--- /dev/null
+++ b/data/themes/Makefile.am
@@ -0,0 +1,35 @@
+themesdir = $(datadir)/adium/message-styles
+
+themes = \
+ $(boxes_messageStyle)
+ $(NULL)
+
+boxes_messageStyle = \
+ Boxes.AdiumMessageStyle/Contents/Resources/Incoming/Content.html \
+ Boxes.AdiumMessageStyle/Contents/Resources/Incoming/NextContent.html \
+ Boxes.AdiumMessageStyle/Contents/Resources/main.css \
+ Boxes.AdiumMessageStyle/Contents/Resources/Status.html \
+ Boxes.AdiumMessageStyle/Contents/Resources/Variants/Clean.css \
+ Boxes.AdiumMessageStyle/Contents/Resources/Variants/Simple.css \
+ Boxes.AdiumMessageStyle/Contents/Resources/Variants/Blue.css \
+ Boxes.AdiumMessageStyle/Contents/Info.plist \
+ $(NULL)
+
+install-themes: $(themes)
+ for f in $^; do \
+ mkdir -p `dirname $(DESTDIR)$(themesdir)/$$f`; \
+ $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(themesdir)/$$f; \
+ done
+
+uninstall-themes: $(themes)
+ for f in $^; do \
+ rm -f $(DESTDIR)$(themesdir)/$$f; \
+ done
+
+install-data-local: install-themes
+
+uninstall-local: uninstall-themes
+
+EXTRA_DIST = \
+ $(themes) \
+ $(NULL)