mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-24 21:36:47 +00:00
docs/Makefile: rules to turn our SVG images into .png and .eps forms
This commit is contained in:
parent
813706a01e
commit
02202c76fe
18
docs/Makefile
Normal file
18
docs/Makefile
Normal file
@ -0,0 +1,18 @@
|
||||
|
||||
SOURCES = CHK-hashes.svg file-encoding1.svg file-encoding2.svg file-encoding3.svg file-encoding4.svg file-encoding5.svg file-encoding6.svg subtree1.svg
|
||||
|
||||
PNGS = $(patsubst %.svg,%.png,$(SOURCES))
|
||||
EPSS = $(patsubst %.svg,%.eps,$(SOURCES))
|
||||
|
||||
.PHONY: images-png images-eps
|
||||
all: $(PNGS) $(EPSS)
|
||||
images-png: $(PNGS)
|
||||
images-eps: $(EPSS)
|
||||
|
||||
%.png: %.svg
|
||||
inkscape -b white -d 90 --export-png $@ $<
|
||||
%.eps: %.svg
|
||||
inkscape --export-eps $@ $<
|
||||
|
||||
clean:
|
||||
rm -f *.png *.eps
|
Loading…
Reference in New Issue
Block a user