Merge commit 'torbenh/master'
[calf.git] / icons / Makefile.am
blob946328c2246df67931fed0258d888d2b7b5868f1
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 "$(datadir)/icons/hicolor/$${fn}/apps/"; \
7                 cp "calf_$${fn}.png" "$(datadir)/icons/hicolor/$${fn}/apps/calf.png"; \
8         done
9         @-gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
10         
11 uninstall-hook:
12         @-for fn in $(SIZES); do \
13                 rm -f "$(datadir)/icons/hicolor/$${fn}/apps/calf.png"; \
14         done
15         @-gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
16