From 39d3121faa260588c671cfb2e218cc03bbee8b09 Mon Sep 17 00:00:00 2001 From: miruka Date: Sat, 30 May 2020 18:57:02 -0400 Subject: [PATCH] Set default PREFIX to /usr/local for make install --- mirage.pro | 2 +- packaging/appimage/build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mirage.pro b/mirage.pro index a9ea86f5..015af3b0 100644 --- a/mirage.pro +++ b/mirage.pro @@ -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 diff --git a/packaging/appimage/build.sh b/packaging/appimage/build.sh index daa471ee..d51d7b13 100755 --- a/packaging/appimage/build.sh +++ b/packaging/appimage/build.sh @@ -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 }