X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=artwork%2FMakefile;fp=artwork%2FMakefile;h=4872ee8226571c9b351226ecfe5b8417796a836e;hb=64548f5064ce6334dc4cef9a4d7cba6b2b2ad4fc;hp=c6b7713fafa4cba2c670bed50db241e868add58f;hpb=55e3c25c2e80684000caa82f2a1c74f6f07ccd51;p=neurodebian.git diff --git a/artwork/Makefile b/artwork/Makefile index c6b7713..4872ee8 100644 --- a/artwork/Makefile +++ b/artwork/Makefile @@ -1,12 +1,14 @@ all:: pics SVGIS=$(shell /bin/ls *.svgtune | sed -e 's/.svgtune/_tuned/g') +ICONSIZED=ccn-logo_h50.png uni-md-logo_h50.png -pics: $(SVGIS) +pics: $(SVGIS) $(ICONSIZED) clean:: for p in *.svg; do rm -f $${p%*.svg}.{pdf,eps,png}; done rm -rf *_tuned + rm -f $(ICONSIZED) ignore-%: @grep -q "^$*$$" .gitignore || { \ @@ -28,6 +30,10 @@ ignore-%: @echo "Rendering $@" @inkscape -z -f "$<" -e "$@" -w 200 +# icon sized versions +%_h50.png: %.png ignore-%_h50.png + @echo "Generating downscaled $@" + @convert -geometry x50 "$<" "$@" # Some enforced conversions to overcome problems with transparency issues # in PDFs