summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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