blob: 6b97f69152f5aa63d00b35af8fd62ee1bcd996f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
TITLE_EN = Backups with Obnam
AUTHOR = Lars Wirzenius (liw@liw.fi)
VERSION = Version $(shell git describe)
en_sources = $(shell ls en/*.mdwn)
outputs = obnam-manual.en.pdf obnam-manual.en.html
all: $(outputs)
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)") \
> $@
clean:
rm -f $(outputs) en/000.mdwn
|