From 49dac1d129016c4d057d52e70a43150966a368e9 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Sun, 8 Jun 2014 13:22:19 -0400 Subject: Attempt at telling Makefile how to build the user manual Signed-off-by: Thiago Macieira Signed-off-by: Dirk Hohndel --- subsurface.pro | 6 ++++-- 1 file 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 -- cgit v1.2.3-70-g09d2