summary refs log tree commit diff stats
path: root/share/icons/Makefile.am
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/icons/Makefile.am
parentc6d955ade738815ec119ae76db32a3fcc1ac5d72 (diff)
parentdf9a05cba5e6a0caf27488006aea0b2eda3de050 (diff)
Merge pull request #328 from RichardHitt/master
install hicolor svg; reorganize some Makefile.am files
Diffstat (limited to 'share/icons/Makefile.am')
-rw-r--r--share/icons/Makefile.am13
1 files changed, 13 insertions, 0 deletions
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);