projects
/
heroik.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
neverending.
[heroik.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
736c55e
..
30266b3
100644
(file)
--- 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>$$/Last-Updated: `date -u +'%Y-%m-%dT%H:%M:%SZ'`/" $< > $@
%.appcache: %.appcache.in $$(call appcache>contents,$$*.appcache.in)
sed "s/<Last-Updated>$$/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)