Set default PREFIX to /usr/local for make install

This commit is contained in:
miruka 2020-05-30 18:57:02 -04:00
parent b399de6776
commit 39d3121faa
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ dev {
# Files to copy for `make install`
!dev:unix {
isEmpty(PREFIX) { PREFIX = /usr }
isEmpty(PREFIX) { PREFIX = /usr/local }
executables.path = $$PREFIX/bin
executables.files = $$TARGET

View File

@ -139,7 +139,7 @@ initialize_appdir() {
cd ~/mirage
rm -rf .qmake.stash Makefile build
qmake mirage.pro
qmake mirage.pro PREFIX=/usr
make install INSTALL_ROOT=build/appdir
}