diff options
Diffstat (limited to 'manual/Makefile')
-rw-r--r-- | manual/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/manual/Makefile b/manual/Makefile index f3804f9f..6b97f691 100644 --- a/manual/Makefile +++ b/manual/Makefile @@ -1,15 +1,14 @@ -TITLE = Backups with Obnam +TITLE_EN = Backups with Obnam AUTHOR = Lars Wirzenius (liw@liw.fi) VERSION = Version $(shell git describe) -en_sources = en/000.mdwn $(shell ls en/*.mdwn | grep -vFx en/000.mdwn) +en_sources = $(shell ls en/*.mdwn) outputs = obnam-manual.en.pdf obnam-manual.en.html all: $(outputs) obnam-manual.en.pdf: Makefile $(en_sources) - pandoc --smart --toc --chapters --number-sections \ - -o $@ $(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 \ |