[PATCH 1/2] Make qmake generate the install rule for user-manual.html
Thiago Macieira
thiago at macieira.org
Thu Nov 14 17:58:08 UTC 2013
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 at macieira.org>
---
subsurface-install.pri | 3 +++
1 file changed, 3 insertions(+)
diff --git a/subsurface-install.pri b/subsurface-install.pri
index 4a41bfc..83e7187 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; \
--
1.7.11.7
More information about the subsurface
mailing list