summaryrefslogtreecommitdiffstats
path: root/Documentation/Makefile
diff options
context:
space:
mode:
authorGravatar Willem Ferguson <willemferguson@zoology.up.ac.za>2013-12-08 07:14:16 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-08 07:50:34 +0100
commitd84f397790e1d2f3542a9eed978aa3e456c2976b (patch)
tree36cad7f2d394001187b23ae156934962fa40695e /Documentation/Makefile
parent4beb53f27e43dd522bcfc9855896d1065cc0b3fd (diff)
downloadsubsurface-d84f397790e1d2f3542a9eed978aa3e456c2976b.tar.gz
Add compact style to the Documentation
The Makefile changes were authored by Dirk, the CSS is based on a public domain CSS file and authored by Willem Signed-off-by: Willem Ferguson <willemferguson@zoology.up.ac.za> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'Documentation/Makefile')
-rw-r--r--Documentation/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile
index 67d2a0c73..67f23eddf 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -4,6 +4,8 @@ HTMLDOC = $(DOCNAME).html
ASCIIDOC = asciidoc
A2X = a2x
BROWSER = firefox
+THEME = compact_wf
+PWD = $(realpath .)
all: doc $(addprefix $(DOCNAME).,pdf text)
@@ -17,7 +19,7 @@ $(OUT)$(DOCNAME).pdf: $(DOCSOURCE)
$(OUT)$(HTMLDOC): $(DOCSOURCE)
@echo "if asciidoc isn't found no HTML documentation is produced but Subsurface is still functional"
- $(ASCIIDOC) $< || true
+ $(ASCIIDOC) -a themedir=$(PWD) --theme $(THEME) $< || true
# Alternatively::
$(OUT)$(DOCNAME).xhtml: $(DOCSOURCE)