+ AutoHell: fix icon installation, bump version number to 0.0.18.1, update ChangeLog
[calf.git] / icons / Makefile.am
blob371e68c2dea99f0c42a7ef265ceb006c0f11e341
1 EXTRA_DIST = calf_16x16.png calf_24x24.png calf_32x32.png calf_48x48.png
2 SIZES = 16x16 24x24 32x32 48x48
4 install-data-hook:
5         -for fn in $(SIZES); do \
6                 mkdir -p "$(DESTDIR)$(datadir)/icons/hicolor/$${fn}/apps/"; \
7                 cp "calf_$${fn}.png" "$(DESTDIR)$(datadir)/icons/hicolor/$${fn}/apps/calf.png"; \
8         done
9         @-gtk-update-icon-cache -f -t $(DESTDIR)$(datadir)/icons/hicolor
10         
11 uninstall-hook:
12         @-for fn in $(SIZES); do \
13                 rm -f "$(DESTDIR)$(datadir)/icons/hicolor/$${fn}/apps/calf.png"; \
14         done
15         @-gtk-update-icon-cache -f -t $(DESTDIR)$(datadir)/icons/hicolor
16