summaryrefslogtreecommitdiffstats
path: root/subsurface-install.pri
diff options
context:
space:
mode:
authorGravatar Thiago Macieira <thiago@macieira.org>2013-11-14 13:26:50 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-15 09:06:31 +0900
commite2a4da767d13a6ab4c4f2e10400823e5708c40bf (patch)
treec8a0f2e45938a09abe71f374b7db88c33decce61 /subsurface-install.pri
parent419e425030914b104955a31b87451ac37b588030 (diff)
downloadsubsurface-e2a4da767d13a6ab4c4f2e10400823e5708c40bf.tar.gz
Make qmake generate the install rule for user-manual.html
The default behaviour is to skip files that don't exist. It does that to decide whether to create an $(INSTALL_FILE) rule or an $(INSTALL_DIR) one. We need to add a setting so that it will ignore the not-found error. Found in Qt 4's own doc/doc.pri: # Install rules htmldocs.files = $$QT_BUILD_TREE/doc/html htmldocs.path = $$[QT_INSTALL_DOCS] htmldocs.CONFIG += no_check_exist directory Signed-off-by: Thiago Macieira <thiago@macieira.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-install.pri')
-rw-r--r--subsurface-install.pri3
1 files changed, 3 insertions, 0 deletions
diff --git a/subsurface-install.pri b/subsurface-install.pri
index 4a41bfcf2..83e718754 100644
--- a/subsurface-install.pri
+++ b/subsurface-install.pri
@@ -47,6 +47,7 @@ mac {
deploy.path = $$WINDOWSSTAGING
deploy.files += $$xslt.files $$doc.files
+ deploy.CONFIG += no_check_exist
target.path = $$WINDOWSSTAGING
marbledir.path = $$WINDOWSSTAGING/data
INSTALLS += deploy marbledir target
@@ -119,6 +120,8 @@ XSLTDIR = $(DATADIR)/subsurface
marbledir.path = /$(DATADIR)/subsurface
doc.path = /$(DOCDIR)
+ doc.CONFIG += no_check_exist
+
# FIXME: Linguist translations
#l10n_install.commands = for LOC in $$files(share/locale/*/LC_MESSAGES); do \
# $(INSTALL_PROGRAM) -d $(INSTALL_ROOT)/$(prefix)/$$LOC; \