summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2021-10-27 10:51:03 +0200
committerThiago Macieira <thiago.macieira@intel.com>2021-10-28 20:25:21 +0000
commit44ae9a6bcd21bb47a8912f0d1357723fcec09c9a (patch)
tree78a93f1f3bc5b2f3bebf86a8af6f836144e916f5
parente48418685ac430bfb508e1f5dd91f0d0b5bd43af (diff)
Install to /usr/local rather than /usr by defaultHEADmaster
/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 <thiago.macieira@intel.com>
-rw-r--r--Makefile2
-rw-r--r--src/qtchooser/Makefile2
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