blob: bfdee88377b5f770f1ca2d012a3fce43dd0b651a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
PANDOCOPTS = --standalone --number-sections --toc --toc-depth=2 "-Vdate=$(shell git describe)" --filter pandoc-filter-diagram
HTMLOPTS = -H sq.css
.SUFFIXES: .md .html .pdf
.md.html:
pandoc $(PANDOCOPTS) $(HTMLOPTS) --output $@ $<
.md.pdf:
pandoc $(PANDOCOPTS) --output $@ $<
all: sq-guide.html sq-guide.pdf
sq-guide.html sq-guide.pdf: sq-guide.md sq.css Makefile
|