summaryrefslogtreecommitdiffstats
path: root/Documentation/Makefile
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-26 13:28:18 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-26 13:28:18 -0700
commit9cc8e39d425b7f64c4c5c2a4226ba581550076f6 (patch)
treec759a26f54e50d46de25f3fa8a6e57c593dede8d /Documentation/Makefile
parenta61c04bb584311fd7ebe397f5e5f5bd159b18b27 (diff)
parentcf3701bbac2f593c6efe046ba15be55bc1360f5b (diff)
downloadsubsurface-9cc8e39d425b7f64c4c5c2a4226ba581550076f6.tar.gz
Merge branch 'Planner'
Diffstat (limited to 'Documentation/Makefile')
-rw-r--r--Documentation/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile
index 611bd2fb0..204aeb8e8 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -15,10 +15,6 @@ A2X = a2x
BROWSER = firefox
THEME = compact_subsurface
PWD = $(realpath .)
-ENABLE_PLANNER := 0
-ifeq ($(ENABLE_PLANNER), 1)
-ENABLE_PLANNER_ATTR=-a ENABLE_PLANNER=$(ENABLE_PLANNER)
-endif
all: doc $(addprefix $(DOCNAME).,pdf text)
@@ -33,11 +29,11 @@ $(OUT)$(DOCNAME).pdf: $(DOCSOURCE)
$(OUT)$(HTMLDOC): $(DOCSOURCE)
@echo "if asciidoc isn't found the html file included in the sources is copied"
$(ASCIIDOC) -a toc -a toclevels=3 -a themedir=$(PWD) -a theme=$(THEME) -a stylesdir=$(PWD) \
- $(ENABLE_PLANNER_ATTR) -o $(OUT)$(HTMLDOC) $< || cp $(HTMLDOC).git $(OUT)$(HTMLDOC)
+ -o $(OUT)$(HTMLDOC) $< || cp $(HTMLDOC).git $(OUT)$(HTMLDOC)
# Alternatively::
$(OUT)$(DOCNAME).xhtml: $(DOCSOURCE)
- $(A2X) $(ENABLE_PLANNER_ATTR) --icons -f xhtml $<
+ $(A2X) --icons -f xhtml $<
show: $(HTMLDOC)
$(BROWSER) $<