summaryrefslogtreecommitdiff
path: root/yarns/Makefile
blob: 8e1180478483dab72a41586d34f523958370df7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
yarns = $(shell ls [0-9][0-9][0-9][0-9]-*.yarn)

all: yarns.pdf yarns.html

yarns.pdf: $(yarns) Makefile
	pandoc --chapters --toc -o yarns.pdf $(yarns)

yarns.html: $(yarns) Makefile ../obnam.css
	pandoc -H ../obnam.css --smart --toc --chapters --number-sections \
                -V geometry:lettersize \
		--standalone --self-contained -o yarns.html $(yarns)

html:

clean:
	rm -f yarns.pdf