blob: c56d011329c488e38d52729ff3701208fa637342 (
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)"
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
|