summaryrefslogtreecommitdiff
path: root/manual/Makefile
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-02-10 23:42:19 +0000
committerLars Wirzenius <liw@liw.fi>2014-02-10 23:42:19 +0000
commit69118c010593e4bcf223545d04ad0662e095bac1 (patch)
treeb4dadd74b7563d333f84eeb5477a3914ab3827a6 /manual/Makefile
parent6414f97a072047484b7289d5ea455b73175635bd (diff)
downloadobnam-69118c010593e4bcf223545d04ad0662e095bac1.tar.gz
Formatting tweak: chapter/section numbering
Diffstat (limited to 'manual/Makefile')
-rw-r--r--manual/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/manual/Makefile b/manual/Makefile
index 53834511..5de927db 100644
--- a/manual/Makefile
+++ b/manual/Makefile
@@ -4,10 +4,13 @@ outputs = manual.pdf manual.html
all: $(outputs)
manual.pdf: Makefile $(sources)
- pandoc --toc --chapters -o manual.pdf $(sources)
+ pandoc --smart --toc --chapters --number-sections \
+ -o manual.pdf $(sources)
manual.html: Makefile $(sources)
- pandoc -H manual.css --toc --chapters --standalone \
+ pandoc -H manual.css --smart --toc --chapters --number-sections \
+ --standalone \
+ --self-contained \
-o manual.html $(sources)
clean: