From a38e476beebc2e5d05213abca545d6bac20b246c Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 6 Jun 2014 12:22:42 -0700 Subject: User manual: install English and localized copies Signed-off-by: Dirk Hohndel --- subsurface.pro | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/subsurface.pro b/subsurface.pro index 042ddc3fa..445d7b75a 100644 --- a/subsurface.pro +++ b/subsurface.pro @@ -236,6 +236,10 @@ QTTRANSLATIONS = \ qt_sv.qm \ qt_zh_TW.qm +USERMANUALS = \ + user-manual.html \ + 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 QMAKE_EXTRA_TARGETS += doc all @@ -254,7 +258,8 @@ else: ICON = subsurface-icon.svg MANPAGE = subsurface.1 XSLT_FILES = xslt ICONS_FILES = icons -DOC_FILES = $$OUT_PWD/Documentation/user-manual.html Documentation/images +DOC_FILES = Documentation/images +for(MANUAL,USERMANUALS) DOC_FILES += $$OUT_PWD/Docuementation/$$MANUAL THEME_FILES = theme MARBLEDIR = marbledata/maps marbledata/bitmaps -- cgit v1.2.3-70-g09d2