summaryrefslogtreecommitdiffstats
path: root/subsurface.pro
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface.pro')
-rw-r--r--subsurface.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsurface.pro b/subsurface.pro
index fe7061f55..988161ffb 100644
--- a/subsurface.pro
+++ b/subsurface.pro
@@ -204,7 +204,7 @@ QTTRANSLATIONS = \
qt_sv.qm \
qt_zh_TW.qm
-doc.commands += $(CHK_DIR_EXISTS) $$OUT_PWD/Documentation$$escape_expand(\\n\\t)$(MAKE) -C $$PWD/Documentation OUT=$$OUT_PWD/Documentation/ doc
+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
QMAKE_EXTRA_TARGETS += doc all