summaryrefslogtreecommitdiff
path: root/manual/Makefile
blob: a2e5410b6fe6385933023848831794c40dcd9207 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
	./format-html $@ "$(TITLE_EN)" "$(AUTHOR)" "$(VERSION)" $(en_sources)

clean:
	rm -f $(outputs) en/000.mdwn