summary refs log tree commit diff stats
path: root/share
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2012-12-16 18:11:10 -0800
committerTingPing <tingping@tingping.se>2012-12-16 18:11:10 -0800
commit49f268d71ec235cd7659c53511440a6ebe6f98b7 (patch)
treedd40a879d2e78fc65e9c11e7fc63862fdc81b809 /share
parentc6d955ade738815ec119ae76db32a3fcc1ac5d72 (diff)
parentdf9a05cba5e6a0caf27488006aea0b2eda3de050 (diff)
Merge pull request #328 from RichardHitt/master
install hicolor svg; reorganize some Makefile.am files
Diffstat (limited to 'share')
-rw-r--r--share/Makefile.am1
-rw-r--r--share/icons/Makefile.am13
-rw-r--r--share/misc/Makefile.am3
3 files changed, 17 insertions, 0 deletions
diff --git a/share/Makefile.am b/share/Makefile.am
new file mode 100644
index 00000000..f265b88e
--- /dev/null
+++ b/share/Makefile.am
@@ -0,0 +1 @@
+SUBDIRS = icons misc
diff --git a/share/icons/Makefile.am b/share/icons/Makefile.am
new file mode 100644
index 00000000..ee5384cc
--- /dev/null
+++ b/share/icons/Makefile.am
@@ -0,0 +1,13 @@
+icon_DATA = ../../src/pixmaps/hexchat.png
+icondir = $(datadir)/icons/hicolor/48x48/apps
+
+hicolor_DATA = hexchat.svg
+hicolordir = $(datadir)/icons/hicolor/scalable/apps
+
+UPDATE_ICON_CACHE = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
+
+install-data-hook:
+	$(UPDATE_ICON_CACHE);
+
+uninstall-hook:
+	$(UPDATE_ICON_CACHE);
diff --git a/share/misc/Makefile.am b/share/misc/Makefile.am
new file mode 100644
index 00000000..eec37250
--- /dev/null
+++ b/share/misc/Makefile.am
@@ -0,0 +1,3 @@
+util_DATA = hexchat.desktop
+utildir = $(datadir)/applications
+