aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Groman <tgroman@nuegia.net>2021-04-27 22:21:34 -0700
committerFelix (xq) Queißner <git@mq32.de>2021-05-08 10:52:07 +0200
commit5abc9cbe1ec7035bb2a16a43317b30c69c6c7afa (patch)
tree7ccec8505eaa76fd5007b2ed9de345799bfc4644
parent7fc40c6beeb3be2c8c257df2ddf57ebbea3a3efc (diff)
fix varible conflict in make install MANPATH conflicts with system environment varible so we rename it to MANPATH2
Signed-off-by: Thomas Groman <tgroman@nuegia.net>
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c949731..3551f90 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ PREFIX?=/usr/local
# Man pages by default instaled to /usr/local/share/man, like above this can
# be specified on command line.
-MANPATH?=$(PREFIX)/share/man
+MANPATH2?=$(PREFIX)/share/man
# What to run to install various files
INSTALL?=install
@@ -15,7 +15,7 @@ INSTALL_DATA=$(INSTALL) -m 644
# Directories into which to install the various files
bindir=$(DESTDIR)$(PREFIX)/bin
sharedir=$(DESTDIR)$(PREFIX)/share
-mandir=$(DESTDIR)$(MANPATH)/man1
+mandir=$(DESTDIR)$(MANPATH2)/man1
MAKEDIR=mkdir -p
# Default Qmake Command For Ubuntu (and probably other Debian) distributions