summaryrefslogtreecommitdiff
path: root/manual/Makefile
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-03-29 11:53:56 +0000
committerLars Wirzenius <liw@liw.fi>2014-03-29 11:53:56 +0000
commit08c5626011262f15bab19fb7e91544a47e06b2c6 (patch)
tree74255adcc802ec355fdbebca848ff293f19c8142 /manual/Makefile
parent294498e27cddfe6d3d653157ed1b1f52ec646420 (diff)
downloadobnam-08c5626011262f15bab19fb7e91544a47e06b2c6.tar.gz
Move HTML formatting to a helper script
Diffstat (limited to 'manual/Makefile')
-rw-r--r--manual/Makefile10
1 files changed, 1 insertions, 9 deletions
diff --git a/manual/Makefile b/manual/Makefile
index 6b97f691..a2e5410b 100644
--- a/manual/Makefile
+++ b/manual/Makefile
@@ -11,15 +11,7 @@ obnam-manual.en.pdf: Makefile $(en_sources)
./format-pdf $@ "$(TITLE_EN)" "$(AUTHOR)" "$(VERSION)" $(en_sources)
obnam-manual.en.html: Makefile $(en_sources) ../obnam.css
- pandoc -H ../obnam.css --smart --toc --chapters --number-sections \
- --standalone \
- --self-contained \
- -V geometry:lettersize \
- -o $@ $(en_sources)
-
-en/000.mdwn:
- (echo "% $(TITLE)"; echo "% $(AUTHOR)"; echo "% $(VERSION)") \
- > $@
+ ./format-html $@ "$(TITLE_EN)" "$(AUTHOR)" "$(VERSION)" $(en_sources)
clean:
rm -f $(outputs) en/000.mdwn