diff options
author | Max Christian Pohle | 2015-08-09 03:09:26 +0200 |
---|---|---|
committer | Max Christian Pohle | 2015-08-09 03:09:26 +0200 |
commit | 41c0dc6e999ec0105a12990736d1069da75817ca (patch) | |
tree | ba80e90ec10292f4e81398b0488dac4c3bd3be86 /Makefile | |
parent | 4d3b50949361c9725bab7b5dd07b592b11e5a120 (diff) | |
download | icons-41c0dc6e999ec0105a12990736d1069da75817ca.tar.bz2 icons-41c0dc6e999ec0105a12990736d1069da75817ca.zip |
cleaned up and added a possibility to generate a mime type preview/poster
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -4,7 +4,10 @@ all: clean | |||
4 | generate: preview.png versions update-cache | 4 | generate: preview.png versions update-cache |
5 | 5 | ||
6 | preview.png: | 6 | preview.png: |
7 | $(shell find "scalable/" -type f -name "*.png" -not -path ".git/*" -not -path 'scalable/animations/*' | sort | feh -m -y 96 -E 96 -s -p -b trans -O preview.png -f-) | 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-) |
8 | |||
9 | preview_mimetypes.png: | ||
10 | $(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-) | ||
8 | 11 | ||
9 | versions: | 12 | versions: |
10 | find scalable/ -name '*.png' -exec ./generate.sh '{}' \; | 13 | find scalable/ -name '*.png' -exec ./generate.sh '{}' \; |
@@ -13,4 +16,4 @@ update-cache: | |||
13 | gtk-update-icon-cache `pwd` | 16 | gtk-update-icon-cache `pwd` |
14 | 17 | ||
15 | clean: | 18 | clean: |
16 | rm -f preview.png | 19 | rm -f preview.png preview_mimetypes.png |