summaryrefslogtreecommitdiff
path: root/manual/Makefile
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-03-29 11:43:45 +0000
committerLars Wirzenius <liw@liw.fi>2014-03-29 11:43:45 +0000
commit2dee685a1f8fb954fbeb9fd9a9d0dbb57b34b8ee (patch)
treecb629d2d27b44eeaae262fbb9975a67048b26317 /manual/Makefile
parent6d27c778c2c51129d5882c2c5adf2aeac9d36e06 (diff)
downloadobnam-2dee685a1f8fb954fbeb9fd9a9d0dbb57b34b8ee.tar.gz
Move English manual texts to en subdir
Diffstat (limited to 'manual/Makefile')
-rw-r--r--manual/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/manual/Makefile b/manual/Makefile
index 5d0ef778..f3804f9f 100644
--- a/manual/Makefile
+++ b/manual/Makefile
@@ -2,25 +2,25 @@ TITLE = Backups with Obnam
AUTHOR = Lars Wirzenius (liw@liw.fi)
VERSION = Version $(shell git describe)
-sources = 000.mdwn $(shell ls *.mdwn | grep -vFx 000.mdwn)
-outputs = manual.pdf manual.html
+en_sources = en/000.mdwn $(shell ls en/*.mdwn | grep -vFx en/000.mdwn)
+outputs = obnam-manual.en.pdf obnam-manual.en.html
all: $(outputs)
-manual.pdf: Makefile $(sources)
+obnam-manual.en.pdf: Makefile $(en_sources)
pandoc --smart --toc --chapters --number-sections \
- -o manual.pdf $(sources)
+ -o $@ $(en_sources)
-manual.html: Makefile $(sources) ../obnam.css
+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 manual.html $(sources)
+ -o $@ $(en_sources)
-000.mdwn:
+en/000.mdwn:
(echo "% $(TITLE)"; echo "% $(AUTHOR)"; echo "% $(VERSION)") \
- > 000.mdwn
+ > $@
clean:
- rm -f $(outputs) 000.mdwn
+ rm -f $(outputs) en/000.mdwn