Adjust asciidoc invocation to build latest manual

We shouldn't need to set the stylesdir - instead doing so makes us not
find the toc.css file.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-10-28 07:43:30 +09:00
parent eed9a4b0f2
commit dfc1e36c0e

View file

@ -31,8 +31,8 @@ $(OUT)%.pdf: %.txt
$(OUT)%.html: %.txt $(OUT)%.html: %.txt
@echo "if asciidoc isn't found the html file included in the sources is copied" @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) \ $(ASCIIDOC) -a toc -a toclevels=3 -a themedir=$(PWD) -a theme=$(THEME) -o $@ $< || \
-o $@ $< || cp $(<:%.txt=%.html.git) $@ cp $(<:%.txt=%.html.git) $@
# Alternatively:: # Alternatively::
$(OUT)$(DOCNAME).xhtml: $(DOCSOURCE) $(OUT)$(DOCNAME).xhtml: $(DOCSOURCE)