diff options
author | Daniel Molkentin <daniel.molkentin@nokia.com> | 2012-09-03 18:24:02 +0200 |
---|---|---|
committer | Daniel Molkentin <daniel.molkentin@nokia.com> | 2012-09-05 16:37:42 +0200 |
commit | c29bf6f6525d435d69936576761b4a29102cd056 (patch) | |
tree | 3458e1bb423c568fcbd7799dcac1876a89047470 /doc/doc.pri | |
parent | d1b65bbf837cfd4f8b655f55633afdcfe1ebe1e8 (diff) | |
download | qt-creator-c29bf6f6525d435d69936576761b4a29102cd056.tar.gz |
Introduce $$QTC_PREFIX instead of abusing $(INSTALL_ROOT).
Reason: $INSTALL_ROOT is only meant to be used by packagers
to temporarily put the contents into a different location,
which is needed for fakeroot packaging.
QTC_PREFIX is not a qmake variable, and defaults to
/usr/local. On Windows the default prefix is "QtCreator",
since "make install" is expected to be used in
a packaging context only where either INSTALL_ROOT
should be used or QTC_PREFIX should be set to the
absolute destination path where e.g. an installer
generator will pick it up.
Change-Id: Ifa4950340e58e34726c53f5417adcc7b50828ce1
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'doc/doc.pri')
-rw-r--r-- | doc/doc.pri | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/doc.pri b/doc/doc.pri index 285951f22c..c163bce40c 100644 --- a/doc/doc.pri +++ b/doc/doc.pri @@ -78,12 +78,12 @@ dev_qch_docs.depends += dev_html_docs !macx { inst_qch_docs.files = $$QCH_FILE - inst_qch_docs.path = /share/doc/qtcreator + inst_qch_docs.path = $$QTC_PREFIX/share/doc/qtcreator inst_qch_docs.CONFIG += no_check_exist no_default_install INSTALLS += inst_qch_docs inst_dev_qch_docs.files = $$DEV_QCH_FILE - inst_dev_qch_docs.path = /share/doc/qtcreator + inst_dev_qch_docs.path = $$QTC_PREFIX/share/doc/qtcreator inst_dev_qch_docs.CONFIG += no_check_exist no_default_install INSTALLS += inst_dev_qch_docs |