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
|
||||
@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:
|
||||
$(RM) -r $(TMPDIR) $(BUILDDIR)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue