remove inkscape stuff since im just using the svgs directly
This commit is contained in:
parent
5a1181ec76
commit
9eddfe84c5
1 changed files with 1 additions and 15 deletions
16
Makefile
16
Makefile
|
@ -16,8 +16,7 @@ SCRIPTS := $(wildcard script/*.js)
|
|||
|
||||
STYLES := $(wildcard style/*.css)
|
||||
STYLESVGS = $(wildcard style/*.svg)
|
||||
STYLEPNGS = $(wildcard style/*.png) \
|
||||
$(STYLESVGS:.svg=.png) $(STYLESVGS:.svg=_small.png)
|
||||
STYLEPNGS = $(wildcard style/*.png)
|
||||
|
||||
FONTS := $(shell find fonts \
|
||||
-iname '*.eot' -or -iname '*.svg' -or \
|
||||
|
@ -37,19 +36,6 @@ $(BUILDDIR)/index.html: $(DATADIR)/index.yaml $(MAKEPAGES)
|
|||
$(MAKEPAGES) $(MPFLAGS) index $< -o $@
|
||||
|
||||
|
||||
define inkscape =
|
||||
echo "[svg] "$@
|
||||
mkdir -p $(dir $@)
|
||||
inkscape $< -e $@ -w $(1) >/dev/null
|
||||
endef
|
||||
|
||||
$(TMPDIR)/%.png: %.svg
|
||||
$(call inkscape,32)
|
||||
|
||||
$(TMPDIR)/%_small.png: %.svg
|
||||
$(call inkscape,16)
|
||||
|
||||
|
||||
$(BUILDDIR)/%: %
|
||||
echo "[copy] "$@
|
||||
mkdir -p $(dir $@)
|
||||
|
|
Loading…
Reference in a new issue