Man page: update to add new options.
[calf.git] / icons / Makefile.am
blob1dba86f9d96008f7e8d04143f450bf15b4c37d24
1 EXTRA_DIST = calf_16x16.png calf_24x24.png calf_22x22.png calf_32x32.png calf_48x48.png calf_64x64.png calf_128x128.png calf_256x256.png calf_scalable.svg calf_plugin_16x16.png calf_plugin_24x24.png calf_plugin_22x22.png calf_plugin_32x32.png calf_plugin_48x48.png calf_plugin_64x64.png calf_plugin_128x128.png calf_plugin_256x256.png calf_plugin_scalable.svg
2 SIZES = 16x16 22x22 24x24 32x32 48x48 64x64 128x128 256x256
4 install-data-hook:
5         -for fn in $(SIZES); do \
6                 mkdir -p "$(DESTDIR)$(datadir)/icons/hicolor/$${fn}/apps/"; \
7                 cp "$(top_srcdir)/icons/calf_$${fn}.png" "$(DESTDIR)$(datadir)/icons/hicolor/$${fn}/apps/calf.png"; \
8                 cp "$(top_srcdir)/icons/calf_plugin_$${fn}.png" "$(DESTDIR)$(datadir)/icons/hicolor/$${fn}/apps/calf_plugin.png"; \
9         done
10         mkdir -p "$(DESTDIR)$(datadir)/icons/hicolor/scalable/apps/"; \
11         cp "$(top_srcdir)/icons/calf_scalable.svg" "$(DESTDIR)$(datadir)/icons/hicolor/scalable/apps/calf.svg";
12         cp "$(top_srcdir)/icons/calf_plugin_scalable.svg" "$(DESTDIR)$(datadir)/icons/hicolor/scalable/apps/calf_plugin.svg";
13         @-test -z "$(DESTDIR)" && gtk-update-icon-cache -f -t $(DESTDIR)$(datadir)/icons/hicolor
14         
15 uninstall-hook:
16         @-for fn in $(SIZES); do \
17                 rm -f "$(DESTDIR)$(datadir)/icons/hicolor/$${fn}/apps/calf.png"; \
18                 rm -f "$(DESTDIR)$(datadir)/icons/hicolor/$${fn}/apps/calf_plugin.png"; \
19         done
20         rm -f "$(DESTDIR)$(datadir)/icons/hicolor/scalable/apps/calf.svg";
21         rm -f "$(DESTDIR)$(datadir)/icons/hicolor/scalable/apps/calf_plugin.svg";
22         @-test -z "$(DESTDIR)" && gtk-update-icon-cache -f -t $(DESTDIR)$(datadir)/icons/hicolor
23