|
Last change
on this file was
0acc1dc,
checked in by Brian Warner <warner@…>, at 2016-03-30T04:02:14Z
|
|
docs: run sphinx-quickstart, move old Makefile
- .gitignore: add docs/_build (sphinx output directory)
|
-
Property mode set to
100644
|
|
File size:
385 bytes
|
| Line | |
|---|
| 1 | |
|---|
| 2 | SOURCES = subtree1.svg lease-tradeoffs.svg |
|---|
| 3 | |
|---|
| 4 | PNGS = $(patsubst %.svg,%.png,$(SOURCES)) |
|---|
| 5 | EPSS = $(patsubst %.svg,%.eps,$(SOURCES)) |
|---|
| 6 | |
|---|
| 7 | .PHONY: images-png images-eps |
|---|
| 8 | all: $(PNGS) $(EPSS) |
|---|
| 9 | images-png: $(PNGS) |
|---|
| 10 | images-eps: $(EPSS) |
|---|
| 11 | |
|---|
| 12 | %.png: %.svg |
|---|
| 13 | inkscape -b white -d 90 -D --export-png $@ $< |
|---|
| 14 | %.eps: %.svg |
|---|
| 15 | inkscape --export-eps $@ $< |
|---|
| 16 | |
|---|
| 17 | %.html: %.rst |
|---|
| 18 | rst2html.py $< $@ |
|---|
| 19 | |
|---|
| 20 | clean: |
|---|
| 21 | rm -f *.png *.eps |
|---|
Note: See
TracBrowser
for help on using the repository browser.