summary refs log tree commit diff stats
path: root/share/icons/Makefile.am
diff options
context:
space:
mode:
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..dadaa67d
--- /dev/null
+++ b/share/icons/Makefile.am
@@ -0,0 +1,13 @@
+icon_DATA = ../../src/pixmaps/hexchat.png
+icondir = $(datadir)/pixmaps
+
+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);