diff options
author | Thiago Macieira <thiago@macieira.org> | 2014-06-08 13:13:15 -0400 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-08 11:00:37 -0700 |
commit | d05139922904b08ffb7db662ba4bbff3cb546bb5 (patch) | |
tree | 0ae656a46396e25586b639c9b7fda810566b0b28 /subsurface.pro | |
parent | efd8da9b08eb1559f41e1eb8b287ff34ad9d5d4b (diff) | |
download | subsurface-d05139922904b08ffb7db662ba4bbff3cb546bb5.tar.gz |
Make make clean also clean in the doc subdir
Also add reminder comments for creating debug builds on Windows
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.pro | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/subsurface.pro b/subsurface.pro index d50679ea2..2350d01ee 100644 --- a/subsurface.pro +++ b/subsurface.pro @@ -242,7 +242,9 @@ USERMANUALS = \ 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 +docclean.commands += $(MAKE) -C $$PWD/Documentation OUT=$$OUT_PWD/Documentation ENABLE_PLANNER=$$ENABLE_PLANNER clean +QMAKE_EXTRA_TARGETS += doc docclean all +CLEAN_DEPS += docclean marbledata.commands += $(CHK_DIR_EXISTS) $$OUT_PWD/marbledata || $(COPY_DIR) $$PWD/marbledata $$OUT_PWD all.depends += marbledata @@ -289,3 +291,7 @@ OTHER_FILES += $$DESKTOPFILE $$ICON $$MANPAGE $$XSLT_FILES $$DOC_FILES $$MARBLED include(subsurface-gen-version.pri) include(subsurface-install.pri) + +# to build debuggable binaries on Windows, you need something like this +#QMAKE_CFLAGS_RELEASE=$$QMAKE_CFLAGS_DEBUG -O0 -g +#QMAKE_CXXFLAGS_RELEASE=$$QMAKE_CXXFLAGS_DEBUG -O0 -g |