mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Make sure the user-manual.html output always ends up in $(OUT)
If you're doing a non-local build, it would get saved in the source dir. Then qmake would complain that it couldn't find it in the target dir. Signed-off-by: Thiago Macieira <thiago@macieira.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
67a1e3f3e0
commit
3318aefa46
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ $(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) \
|
||||
-o $(HTMLDOC) $< || cp $(HTMLDOC).git $(HTMLDOC)
|
||||
-o $(OUT)$(HTMLDOC) $< || cp $(HTMLDOC).git $(OUT)$(HTMLDOC)
|
||||
|
||||
# Alternatively::
|
||||
$(OUT)$(DOCNAME).xhtml: $(DOCSOURCE)
|
||||
|
|
|
@ -196,7 +196,7 @@ QTTRANSLATIONS = \
|
|||
qt_sk.qm \
|
||||
qt_sv.qm
|
||||
|
||||
doc.commands += $$escape_expand(\\n\\t)$(MAKE) -C $$PWD/Documentation OUT=$$OUT_PWD/Documentation/ doc
|
||||
doc.commands += $(MKDIR) $$OUT_PWD/Documentation$$escape_expand(\\n\\t)$(MAKE) -C $$PWD/Documentation OUT=$$OUT_PWD/Documentation/ doc
|
||||
all.depends += doc
|
||||
QMAKE_EXTRA_TARGETS += doc all
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue