From: Joe Wreschnig Date: Sat, 30 Aug 2014 13:27:43 +0000 (+0200) Subject: SVG icon. X-Git-Url: https://git.yukkurigames.com/?p=heroik.git;a=commitdiff_plain;h=f46fe4cb5ee00fa8b11784478d77b397dd09a357 SVG icon. --- diff --git a/.gitignore b/.gitignore index 8cefe1e..9b318df 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ heroik.appcache +favicon_*.png + diff --git a/Makefile b/Makefile index 736c55e..30266b3 100644 --- a/Makefile +++ b/Makefile @@ -6,8 +6,14 @@ appcache>contents = $(shell grep -vFx -e "*" -e "CACHE MANIFEST" -e "CACHE:" -e %.appcache: %.appcache.in $$(call appcache>contents,$$*.appcache.in) sed "s/$$/Last-Updated: `date -u +'%Y-%m-%dT%H:%M:%SZ'`/" $< > $@ -all: heroik.appcache +CONVERT.svg.png ?= rsvg-convert -f png -clean: - $(RM) heroik.appcache +favicon_%.png: favicon.svg + $(CONVERT.svg.png) -w $(*F) -h $(*F) < $< > $@ + +ICONS := $(patsubst %,favicon_%.png,256 192 128 32) +all: heroik.appcache $(ICONS) + +clean: + $(RM) heroik.appcache $(ICONS) diff --git a/favicon.svg b/favicon.svg new file mode 100644 index 0000000..7be7071 --- /dev/null +++ b/favicon.svg @@ -0,0 +1,140 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/favicon_128.png b/favicon_128.png deleted file mode 100644 index e3e1762..0000000 Binary files a/favicon_128.png and /dev/null differ diff --git a/favicon_192.png b/favicon_192.png deleted file mode 100644 index ab3a4d2..0000000 Binary files a/favicon_192.png and /dev/null differ diff --git a/favicon_256.png b/favicon_256.png deleted file mode 100644 index 4f2cd94..0000000 Binary files a/favicon_256.png and /dev/null differ diff --git a/favicon_32.png b/favicon_32.png deleted file mode 100644 index 0e6dc9d..0000000 Binary files a/favicon_32.png and /dev/null differ