summary refs log tree commit diff stats
path: root/data/icons/Makefile.am
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2013-09-27 21:56:13 -0400
committerTingPing <tingping@tingping.se>2013-09-29 02:24:06 -0400
commit1f84c507a058f5baa01a632ce2478fa31854907d (patch)
tree4cbd6188a2e92839be97ac2dc996420a5c3aba00 /data/icons/Makefile.am
parent0d2feba69cd3fda426fd3b786afb8b7c563a62da (diff)
Reorganize files and migrate images to gresource
Diffstat (limited to 'data/icons/Makefile.am')
-rw-r--r--data/icons/Makefile.am13
1 files changed, 13 insertions, 0 deletions
diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am
new file mode 100644
index 00000000..06e52ad5
--- /dev/null
+++ b/data/icons/Makefile.am
@@ -0,0 +1,13 @@
+icon_DATA = 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);