Set default PREFIX to /usr/local for make install
This commit is contained in:
parent
b399de6776
commit
39d3121faa
|
@ -33,7 +33,7 @@ dev {
|
||||||
# Files to copy for `make install`
|
# Files to copy for `make install`
|
||||||
|
|
||||||
!dev:unix {
|
!dev:unix {
|
||||||
isEmpty(PREFIX) { PREFIX = /usr }
|
isEmpty(PREFIX) { PREFIX = /usr/local }
|
||||||
|
|
||||||
executables.path = $$PREFIX/bin
|
executables.path = $$PREFIX/bin
|
||||||
executables.files = $$TARGET
|
executables.files = $$TARGET
|
||||||
|
|
|
@ -139,7 +139,7 @@ initialize_appdir() {
|
||||||
cd ~/mirage
|
cd ~/mirage
|
||||||
rm -rf .qmake.stash Makefile build
|
rm -rf .qmake.stash Makefile build
|
||||||
|
|
||||||
qmake mirage.pro
|
qmake mirage.pro PREFIX=/usr
|
||||||
make install INSTALL_ROOT=build/appdir
|
make install INSTALL_ROOT=build/appdir
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user