From 44ae9a6bcd21bb47a8912f0d1357723fcec09c9a Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Wed, 27 Oct 2021 10:51:03 +0200 Subject: Install to /usr/local rather than /usr by default /usr/local has always been more appropriate when a user builds it for herself. If anyone is still packaging this into a distro package, they can override the prefix by setting the prefix env variable: prefix=/usr make -e install This gets us a bit closer to following GNU conventions for makefiles: https://www.gnu.org/software/make/manual/html_node/Directory-Variables.html Change-Id: I07622f3fa816f72a0c84233f4b760ceda2137f17 Reviewed-by: Thiago Macieira --- Makefile | 2 +- src/qtchooser/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index cff06ca..b22115b 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ MKDIR = mkdir -p -prefix = /usr +prefix = /usr/local bindir = $(prefix)/bin TOOLS = \ androiddeployqt \ diff --git a/src/qtchooser/Makefile b/src/qtchooser/Makefile index 6ad619a..87a051e 100644 --- a/src/qtchooser/Makefile +++ b/src/qtchooser/Makefile @@ -1,4 +1,4 @@ -prefix = /usr +prefix = /usr/local bindir = $(prefix)/bin ####### Compiler, tools and options -- cgit v1.2.3