summaryrefslogtreecommitdiffstats
path: root/subsurface.pro
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-06 12:22:42 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-06 12:22:42 -0700
commita38e476beebc2e5d05213abca545d6bac20b246c (patch)
tree6564027ada8ff389453470662b3e6fc4e06b691f /subsurface.pro
parenta0a6759d930c081d95d0984b4ffdbd1a55cf4961 (diff)
downloadsubsurface-a38e476beebc2e5d05213abca545d6bac20b246c.tar.gz
User manual: install English and localized copies
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface.pro')
-rw-r--r--subsurface.pro7
1 files changed, 6 insertions, 1 deletions
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