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>
This commit is contained in:
Thiago Macieira 2013-11-14 13:26:50 -08:00 committed by Dirk Hohndel
parent 419e425030
commit e2a4da767d

View file

@ -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; \