svg support in makefile
This commit is contained in:
parent
4be3145702
commit
8c3cfcd064
1 changed files with 10 additions and 0 deletions
10
Makefile
10
Makefile
|
@ -31,6 +31,16 @@ $(BUILDDIR)/%.gif: %_bg.gif
|
||||||
@convert -transparent '#ff9bc7' $(TMPDIR)/$*_bg_u.gif $(TMPDIR)/$*_t.gif
|
@convert -transparent '#ff9bc7' $(TMPDIR)/$*_bg_u.gif $(TMPDIR)/$*_t.gif
|
||||||
@gifsicle --disposal=previous $(TMPDIR)/$*_t.gif -o $(BUILDDIR)/$*.gif
|
@gifsicle --disposal=previous $(TMPDIR)/$*_t.gif -o $(BUILDDIR)/$*.gif
|
||||||
|
|
||||||
|
$(BUILDDIR)/%_small.png: %.svg
|
||||||
|
@echo $(notdir $@)
|
||||||
|
@mkdir -p $(dir $@)
|
||||||
|
@inkscape -e $@ -h 16 $< >/dev/null
|
||||||
|
|
||||||
|
$(BUILDDIR)/%_large.png: %.svg
|
||||||
|
@echo $(notdir $@)
|
||||||
|
@mkdir -p $(dir $@)
|
||||||
|
@inkscape -e $@ -h 30 $< >/dev/null
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) -r $(TMPDIR) $(BUILDDIR)
|
$(RM) -r $(TMPDIR) $(BUILDDIR)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue