aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMax Christian Pohle2015-09-07 17:17:02 +0200
committerMax Christian Pohle2015-09-07 17:17:02 +0200
commita50c48b6e1672267dd831972e76fd2130ef3b3e9 (patch)
treeb8e26053e908183abb6b77269eecc0902d60947e /Makefile
parenta3c947dfffe39d66340c32ec90119a3bd20363a2 (diff)
downloadicons-a50c48b6e1672267dd831972e76fd2130ef3b3e9.tar.bz2
icons-a50c48b6e1672267dd831972e76fd2130ef3b3e9.zip
cleaned working directory and simplified installation, mimetype previews
now possible
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 11 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index ac4cf99..7e5b4ab 100644
--- a/Makefile
+++ b/Makefile
@@ -1,19 +1,19 @@
1all: clean 1all: actions apps categories devices emblems places status mimetypes-templates
2 make generate
3 2
4generate: preview.png versions update-cache 3%.png:
4 rm -f $@
5 5
6preview.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
10preview_mimetypes.png: 9mimetypes:
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
13versions: 13resize:
14 find scalable/ -name '*.png' -exec ./generate.sh '{}' \; 14 find scalable/ -name '*.png' -exec ./icons-mkdefaultsizes.sh '{}' \;
15 15
16update-cache: 16iconcache:
17 gtk-update-icon-cache `pwd` 17 gtk-update-icon-cache `pwd`
18 18
19clean: 19clean:
..