diff --git a/Makefile b/Makefile index 474494e3..6bb89268 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,12 @@ -all: create_badge create_favicon +all: generate_badge generate_favicon -.PHONY: create_badge create_favicon +.PHONY: generate_badge generate_favicon -create_badge: +generate_badge: SVG_BASE64=$(shell base64 -w 0 docs/src/assets/logo.svg); \ curl -o "badge.svg" "https://img.shields.io/badge/tested_with-Aqua.jl-05C3DD.svg?logo=data:image/svg+xml;base64,$$SVG_BASE64" -create_favicon: +generate_favicon: convert -background none docs/src/assets/logo.svg -resize 256x256 logo.png convert logo.png -gravity center -background none -extent 256x256 logo256.png convert logo256.png -resize 16x16 logo16.png