summaryrefslogtreecommitdiffstats
path: root/subsurface.pro
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2014-03-13 00:18:18 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-03-12 19:54:38 -0700
commit7a999a875e0a2f237c4a85c8c8e4c45ba6009846 (patch)
tree3a7789f7559a2209929f005b622c63b92354d963 /subsurface.pro
parent7902af246c5fa2091caf8fd49e592d12b6e26daa (diff)
downloadsubsurface-7a999a875e0a2f237c4a85c8c8e4c45ba6009846.tar.gz
Create Documentation directory if missing
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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