summaryrefslogtreecommitdiffstats
path: root/subsurface.pro
diff options
context:
space:
mode:
authorGravatar Thiago Macieira <thiago@macieira.org>2014-06-08 13:22:19 -0400
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-08 11:02:46 -0700
commit49dac1d129016c4d057d52e70a43150966a368e9 (patch)
tree4eeb9165b5133bf8cd427c1d2e5a18ae0f88456c /subsurface.pro
parentd05139922904b08ffb7db662ba4bbff3cb546bb5 (diff)
downloadsubsurface-49dac1d129016c4d057d52e70a43150966a368e9.tar.gz
Attempt at telling Makefile how to build the user manual
Signed-off-by: Thiago Macieira <thiago@macieira.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface.pro')
-rw-r--r--subsurface.pro6
1 files changed, 4 insertions, 2 deletions
diff --git a/subsurface.pro b/subsurface.pro
index 2350d01ee..72e53225a 100644
--- a/subsurface.pro
+++ b/subsurface.pro
@@ -241,9 +241,11 @@ USERMANUALS = \
user-manual_es.html
doc.commands += $(CHK_DIR_EXISTS) $$OUT_PWD/Documentation || $(MKDIR) $$OUT_PWD/Documentation $$escape_expand(\\n\\t)$(MAKE) -C $$PWD/Documentation OUT=$$OUT_PWD/Documentation/ doc
-all.depends += doc
+all.depends += usermanual
docclean.commands += $(MAKE) -C $$PWD/Documentation OUT=$$OUT_PWD/Documentation ENABLE_PLANNER=$$ENABLE_PLANNER clean
-QMAKE_EXTRA_TARGETS += doc docclean all
+usermanual.depends += doc
+usermanual.target = $$OUT_PWD/Documentation/user-manual.html
+QMAKE_EXTRA_TARGETS += doc docclean usermanual all
CLEAN_DEPS += docclean
marbledata.commands += $(CHK_DIR_EXISTS) $$OUT_PWD/marbledata || $(COPY_DIR) $$PWD/marbledata $$OUT_PWD