aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface.pro
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-11 09:31:58 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-11 09:31:58 -0700
commitdee7bdd1ad8e9f98fd3089c0edbe9accdb01aac5 (patch)
tree08d8773b97f13304b40a262e552be3542a39ceb8 /subsurface.pro
parent66c04092d26a9513a03265beade5f6713c065be2 (diff)
downloadsubsurface-dee7bdd1ad8e9f98fd3089c0edbe9accdb01aac5.tar.gz
Fix bug in Documentation make invocation
Without the trailing slash the Makefile in Documentation would create the wrong target name (with run-together path / filename) and therefore would always recompile the documentation. And we don't need to check that the Documentation directory exists - it's part of our sources... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface.pro')
-rw-r--r--subsurface.pro3
1 files changed, 1 insertions, 2 deletions
diff --git a/subsurface.pro b/subsurface.pro
index f938bfa3a..afbc766e5 100644
--- a/subsurface.pro
+++ b/subsurface.pro
@@ -143,8 +143,7 @@ TRANSLATIONS = \
translations/subsurface_sk_SK.ts \
translations/subsurface_sv_SE.ts
-doc.commands = $(CHK_DIR_EXISTS) Documentation || $(MKDIR) Documentation
-doc.commands += $$escape_expand(\\n\\t)$(MAKE) -C $$PWD/Documentation OUT=$$OUT_PWD/Documentation doc
+doc.commands += $$escape_expand(\\n\\t)$(MAKE) -C $$PWD/Documentation OUT=$$OUT_PWD/Documentation/ doc
all.depends += doc
QMAKE_EXTRA_TARGETS += doc all