1themedir = $(datadir)/icons/HighContrast-SVG 2size = scalable 3context = mimetypes 4 5icondir = $(themedir)/$(size)/$(context) 6 7icon_DATA = \ 8 application-x-executable.svg \ 9 audio-x-generic.svg \ 10 font-x-generic.svg \ 11 image-x-generic.svg \ 12 text-html.svg \ 13 text-x-generic.svg \ 14 text-x-generic-template.svg \ 15 text-x-preview.svg \ 16 text-x-script.svg \ 17 video-x-generic.svg \ 18 x-office-address-book.svg \ 19 x-office-calendar.svg \ 20 x-office-document.svg \ 21 x-office-presentation.svg \ 22 x-office-spreadsheet.svg 23 24placeholder_FILES = 25 26if PLACEHOLDERS 27icon_DATA += $(placeholder_FILES) 28endif 29 30EXTRA_DIST = \ 31 $(icon_DATA) \ 32 $(placeholder_FILES) 33 34if LEGACY_ICON_MAPPING 35install-data-local: install-iconDATA 36 (cd $(DESTDIR)$(themedir)/$(size) && $(ICONMAP) -c $(context)) 37endif 38 39 40uninstall-symlinks: 41 list=`ls $(DESTDIR)$(themedir)/$(size)/$(context)`; \ 42 for p in $$list; do \ 43 if test -h $(DESTDIR)$(themedir)/$(size)/$(context)/$$p; then \ 44 rm -f $(DESTDIR)$(themedir)/$(size)/$(context)/$$p; \ 45 fi; \ 46 done 47 48uninstall-am: uninstall-iconDATA uninstall-symlinks 49