diff options
author | Lars Wirzenius <liw@liw.fi> | 2014-02-15 10:27:50 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2014-02-15 10:27:50 +0000 |
commit | 805e7e18cc7a960249c24fc5a12c73f0b25ede0b (patch) | |
tree | 9377a882d960519599c242cdce80f5f8e62a473c /yarns/Makefile | |
parent | 5035a344898a49683d7e4d558075e4d54cc24feb (diff) | |
download | obnam-805e7e18cc7a960249c24fc5a12c73f0b25ede0b.tar.gz |
Generate yarns.html
This makes it easier to read in a web browser. PDF is nice to have
too, but HTML is important.
Diffstat (limited to 'yarns/Makefile')
-rw-r--r-- | yarns/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/yarns/Makefile b/yarns/Makefile index 712e2dba..22780072 100644 --- a/yarns/Makefile +++ b/yarns/Makefile @@ -1,9 +1,15 @@ yarns = $(shell ls [0-9][0-9][0-9][0-9]-*.yarn) -all: pdf +all: yarns.pdf yarns.html -pdf: $(yarns) Makefile +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 \ + --standalone --self-contained -o yarns.html $(yarns) + +html: + clean: rm -f yarns.pdf
\ No newline at end of file |