mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Fix out of tree building without asciidoc
We tried to copy the .html.git file from the out of tree build dir, not from the source dir. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
bded22f2f6
commit
bd3dd30518
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ $(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 $@.git $@
|
||||
-o $@ $< || cp $(<:%.txt=%.html.git) $@
|
||||
|
||||
# Alternatively::
|
||||
$(OUT)$(DOCNAME).xhtml: $(DOCSOURCE)
|
||||
|
|
Loading…
Reference in a new issue