File: Makefile.am

package info (click to toggle)
hicolor-icon-theme 0.17-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 360 kB
  • sloc: sh: 535; makefile: 25
file content (24 lines) | stat: -rw-r--r-- 843 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
ICON_SIZES = 16x16 22x22 24x24 32x32 36x36 48x48 64x64 72x72 96x96 \
  128x128 192x192 256x256 512x512 scalable
ICON_CONTEXTS = actions animations apps categories devices emblems emotes \
  filesystems intl mimetypes places status stock
STOCK_SUBS = chart code data form image io media navigation net object table text

themedir = $(datadir)/icons/hicolor
dist_theme_DATA = index.theme

EXTRA_DIST = COPYING README NEWS autogen.sh

install-data-hook:
	mkdir -p $(DESTDIR)$(themedir)
	for dir in $(ICON_SIZES); do \
	  for ctxt in $(ICON_CONTEXTS); do \
	    mkdir -p $(DESTDIR)$(themedir)/$$dir/$$ctxt; \
	    if [ "$$ctxt" = "stock" ]; then \
	      for sub in $(STOCK_SUBS); do \
	        mkdir -p $(DESTDIR)$(themedir)/$$dir/$$ctxt/$$sub; \
	      done \
	    fi \
	  done \
	done
	mkdir -p $(DESTDIR)$(datadir)/icons/hicolor/symbolic/apps