diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2021-10-27 10:51:03 +0200 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2021-10-28 20:25:21 +0000 |
commit | 44ae9a6bcd21bb47a8912f0d1357723fcec09c9a (patch) | |
tree | 78a93f1f3bc5b2f3bebf86a8af6f836144e916f5 | |
parent | e48418685ac430bfb508e1f5dd91f0d0b5bd43af (diff) |
/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-- | Makefile | 2 | ||||
-rw-r--r-- | src/qtchooser/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 |