mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +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
|
$(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)
|
||||||
|
|
Loading…
Reference in a new issue