diff options
author | Jakub Steiner <jimmac@gmail.com> | 2014-06-23 20:32:25 +0200 |
---|---|---|
committer | Jakub Steiner <jimmac@gmail.com> | 2014-06-23 23:35:21 +0200 |
commit | d15c9c68e07197c4cdb5fbaa8197a2712c40b71c (patch) | |
tree | f2308c3c431bfeecb95a33d6c47821d991d5007e /Makefile.am | |
parent | afd8b451c8a11de6b82981ca8cfb0cb5925d5b80 (diff) | |
download | adwaita-icon-theme-d15c9c68e07197c4cdb5fbaa8197a2712c40b71c.tar.gz |
make spinners scalable up till 32
- introduce a new size
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index b1333e978..fc7a8b5ab 100644 --- a/Makefile.am +++ b/Makefile.am @@ -10,7 +10,7 @@ cursor_DATA = $(wildcard $(srcdir)/Adwaita/cursors/*) theme_in_files = index.theme.in.in theme_DATA = $(theme_in_files:.theme.in.in=.theme) -THEME_DIRS=$(shell SIZES="$(render_sizes)"; for size in $$SIZES; do for dir in `find $(srcdir)/$(SVGOUTDIR)/$$size/* -type d`; do printf "$$dir,"; done; done; echo "scalable/actions,scalable/apps,scalable/categories,scalable/devices,scalable/emblems,scalable/emotes,scalable/mimetypes,scalable/places,scalable/status") +THEME_DIRS=$(shell SIZES="$(render_sizes)"; for size in $$SIZES; do for dir in `find $(srcdir)/$(SVGOUTDIR)/$$size/* -type d`; do printf "$$dir,"; done; done; echo "scalable/actions,scalable/apps,scalable/categories,scalable/devices,scalable/emblems,scalable/emotes,scalable/mimetypes,scalable/places,scalable/status, scalable-up-to-32/status") %.theme.in: %.theme.in.in $(SVGOUTDIR) Makefile dirs="`echo $(THEME_DIRS) | sed -e 's#$(srcdir)/Adwaita/##g'`"; \ @@ -19,6 +19,8 @@ THEME_DIRS=$(shell SIZES="$(render_sizes)"; for size in $$SIZES; do for dir in ` sizefull="`dirname $$dir`"; \ if test "$$sizefull" = "scalable"; then \ size="16"; \ + elif test "$$sizefull" = "scalable-up-to-32"; then \ + size="16"; \ else \ size="`echo $$sizefull | sed -e 's/x.*$$//g'`"; \ fi; \ @@ -65,7 +67,11 @@ THEME_DIRS=$(shell SIZES="$(render_sizes)"; for size in $$SIZES; do for dir in ` elif test "$$size" = "256"; then \ echo "MinSize=56" >> $@; \ echo "MaxSize=512" >> $@; \ + elif test "$$size" = "scalable-up-to-32"; then \ + echo "MinSize=8" >> $@; \ + echo "MaxSize=32" >> $@; \ echo "Type=Scalable" >> $@; \ + echo "Type=Scalable" >> $@; \ else \ echo "Type=Fixed" >> $@; \ fi; \ |