diff options
author | Lars Wirzenius <liw@liw.fi> | 2014-01-30 23:42:13 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2014-01-30 23:42:13 +0000 |
commit | d378bb5d90069366c337e230034298c5078efff3 (patch) | |
tree | c9435519b1527d6996882a4990176596d2fde7ea /manual | |
parent | e96d510eaed8f326730d55b00a2ff3bbd7485665 (diff) | |
download | obnam-d378bb5d90069366c337e230034298c5078efff3.tar.gz |
Add a rule to publish the manual
Diffstat (limited to 'manual')
-rw-r--r-- | manual/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/manual/Makefile b/manual/Makefile index 63b529c1..58939b9e 100644 --- a/manual/Makefile +++ b/manual/Makefile @@ -1,6 +1,7 @@ sources = $(wildcard *.mdwn) +outputs = manual.pdf manual.html -all: manual.pdf manual.html +all: $(outputs) manual.pdf: Makefile $(sources) pandoc --toc --chapters -o manual.pdf $(sources) @@ -10,3 +11,6 @@ manual.html: Makefile $(sources) clean: rm -f manual.pdf manual.html + +publish: $(outputs) + rsync $(outputs) code.liw.fi:code.liw.fi/obnam/manual/. |