mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
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:
parent
eed9a4b0f2
commit
dfc1e36c0e
1 changed files with 2 additions and 2 deletions
|
@ -31,8 +31,8 @@ $(OUT)%.pdf: %.txt
|
|||
|
||||
$(OUT)%.html: %.txt
|
||||
@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) \
|
||||
-o $@ $< || cp $(<:%.txt=%.html.git) $@
|
||||
$(ASCIIDOC) -a toc -a toclevels=3 -a themedir=$(PWD) -a theme=$(THEME) -o $@ $< || \
|
||||
cp $(<:%.txt=%.html.git) $@
|
||||
|
||||
# Alternatively::
|
||||
$(OUT)$(DOCNAME).xhtml: $(DOCSOURCE)
|
||||
|
|
Loading…
Reference in a new issue