summaryrefslogtreecommitdiffstats
path: root/Documentation/Makefile
diff options
context:
space:
mode:
authorGravatar Reinout Hoornweg <reinout@xs4all.nl>2013-02-18 22:09:57 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-18 13:28:25 -0800
commit51cac900aabc11384fd2ec129889c2f8609fef68 (patch)
treed6baa7b75a2674f4a06b1135ec7c7a802fc20975 /Documentation/Makefile
parent55cb9539226eb9fd1d52225622fc862915f82277 (diff)
downloadsubsurface-51cac900aabc11384fd2ec129889c2f8609fef68.tar.gz
Updates to the user-manual: DivePlanning
- Added some more text to Miika's great start describing the planner. - Tried doing something more with the formatting options asciidoc give us. [Dirk Hohndel: merged with my earlier changes to the same section] Signed-off-by: Reinout Hoornweg <reinout@xs4all.nl> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'Documentation/Makefile')
-rw-r--r--Documentation/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile
index 273eae521..2cf609982 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -1,4 +1,5 @@
ASCIIDOC=asciidoc
+A2X=a2x
BROWSER=firefox
doc: user-manual.html
@@ -8,3 +9,16 @@ show: user-manual.html
user-manual.html: user-manual.txt
$(ASCIIDOC) user-manual.txt
+
+# Alternatively::
+user-manual.xhtml: user-manual.txt
+ $(A2X) --icons -f xhtml user-manual.txt
+
+user-manual.text: user-manual.txt
+ $(A2X) -f text user-manual.txt
+
+user-manual.pdf: user-manual.txt
+ $(A2X) -f pdf user-manual.txt
+
+clean:
+ rm -f user-manual.html user-manual.pdf user-manual.text