Introduce INSTALL_PREFIX_SCRIPT to easily set up prefixes

Authored by apol on Dec 12 2017, 3:34 PM.

Description

Introduce INSTALL_PREFIX_SCRIPT to easily set up prefixes

Summary:
If enabled it will install a prefix.sh script to the root of the prefix.
This file will be useful to be able to easily set up a prefix to be used by
integrating the environment variables it exports.

Test Plan:

$ cat prefix.sh
export PATH=/home/apol/devel/kde5/bin:$PATH
export LD_LIBRARY_PATH=/home/apol/devel/kde5/lib64:$LD_LIBRARY_PATH

export XDG_DATA_DIRS=/home/apol/devel/kde5/share:${XDG_DATA_DIRS:-/usr/local/share/:/usr/share/}
export XDG_CONFIG_DIRS=/home/apol/devel/kde5/etc/xdg:${XDG_CONFIG_DIRS:-/etc/xdg}

export QT_PLUGIN_PATH=/home/apol/devel/kde5/lib64/plugins:$QT_PLUGIN_PATH
export QML2_IMPORT_PATH=/home/apol/devel/kde5/lib64/qml:$QML2_IMPORT_PATH

Reviewers: Frameworks, sitter

Reviewed By: sitter

Subscribers: kfunk, bcooksley, ngraham, sitter, cgiboudeaux, Build System

Tags: Frameworks, Build System

Differential Revision: https://phabricator.kde.org/D9299

Details

Committed
apolDec 15 2017, 3:39 PM
Reviewer
sitter
Differential Revision
D9299: Introduce INSTALL_PREFIX_SCRIPT to easily set up prefixes
Parents
R240:d4449ad80a19: GIT_SILENT Upgrade ECM version to 5.42.0.
Branches
Unknown
Tags
Unknown