diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -1,19 +1,19 @@ | |||
1 | all: clean | 1 | all: actions apps categories devices emblems places status mimetypes-templates |
2 | make generate | ||
3 | 2 | ||
4 | generate: preview.png versions update-cache | 3 | %.png: |
4 | rm -f $@ | ||
5 | 5 | ||
6 | preview.png: | 6 | %: %.png |
7 | #$(shell find "scalable/" -type f -name "*.png" -not -path ".git/*" -not -path 'scalable/animations/*' -not -path 'scalable/mimetypes/*' | sort | feh -m -y 96 -E 96 -s -p -b trans -O preview.png -f-) | 7 | $(shell /usr/bin/env montage -label '\n%t' $(shell find scalable/$(@) -type f) -tile 5 -background white -geometry 96x96+24+24 doc/img/$(@).jpg) |
8 | $(shell for path in $(ls -d scalable/*/); do montage -label '\n%t' $(find $path -type f) -tile 5 -background white -geometry 96x96+24+24 doc/img/$(echo $path | cut -d "/" -f2).jpg; done) | ||
9 | 8 | ||
10 | preview_mimetypes.png: | 9 | mimetypes: |
11 | $(shell find "scalable/mimetypes" -type f -name "*.png" | sort | feh -m -y 256 -E 256 -W 8192 -s -p -b trans -O preview_mimetypes.png -f-) | 10 | ./icons-mkmimetypes.sh /usr/share/mime/generic-icons |
11 | ./icons-mkmimetypes.sh /usr/share/mime/globs | ||
12 | 12 | ||
13 | versions: | 13 | resize: |
14 | find scalable/ -name '*.png' -exec ./generate.sh '{}' \; | 14 | find scalable/ -name '*.png' -exec ./icons-mkdefaultsizes.sh '{}' \; |
15 | 15 | ||
16 | update-cache: | 16 | iconcache: |
17 | gtk-update-icon-cache `pwd` | 17 | gtk-update-icon-cache `pwd` |
18 | 18 | ||
19 | clean: | 19 | clean: |