[empathy] Install Boxes theme
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] Install Boxes theme
- Date: Mon, 2 Jul 2012 12:13:13 +0000 (UTC)
commit 7aaacb249dd73f815c028ce0b5a3ec5ca783f69b
Author: Danielle Madeley <danielle madeley collabora co uk>
Date: Mon Jun 18 10:46:02 2012 +1000
Install Boxes theme
Uninstall needs work. Why is Automake so bad with directories?
configure.ac | 1 +
data/Makefile.am | 2 +-
data/themes/Makefile.am | 35 +++++++++++++++++++++++++++++++++++
3 files changed, 37 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 43d0a13..5dccd8c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -512,6 +512,7 @@ AC_CONFIG_FILES([
data/empathy.desktop.in
data/empathy-accounts.desktop.in
data/icons/Makefile
+ data/themes/Makefile
extensions/Makefile
po/Makefile.in
libempathy/Makefile
diff --git a/data/Makefile.am b/data/Makefile.am
index e22d909..65c7242 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 0000000..dd82e24
--- /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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]