changed default PREFIX and MANDIR
This commit is contained in:
parent
a3d61cf3df
commit
d57ff6456d
@ -118,12 +118,7 @@ else
|
||||
INSTALL ?= install
|
||||
endif
|
||||
|
||||
ifneq (,$(filter $(shell uname),OpenBSD FreeBSD NetBSD DragonFly SunOS))
|
||||
PREFIX ?= /usr
|
||||
else
|
||||
PREFIX ?= /usr/local
|
||||
endif
|
||||
|
||||
PREFIX ?= /usr/local
|
||||
DESTDIR ?=
|
||||
LIBDIR ?= $(PREFIX)/lib
|
||||
INCLUDEDIR ?= $(PREFIX)/include
|
||||
|
@ -126,15 +126,15 @@ else
|
||||
INSTALL ?= install
|
||||
endif
|
||||
|
||||
ifneq (,$(filter $(shell uname),OpenBSD FreeBSD NetBSD DragonFly SunOS))
|
||||
PREFIX ?= /usr
|
||||
else
|
||||
PREFIX ?= /usr/local
|
||||
endif
|
||||
|
||||
DESTDIR ?=
|
||||
BINDIR ?= $(PREFIX)/bin
|
||||
|
||||
ifneq (,$(filter $(shell uname),OpenBSD FreeBSD NetBSD DragonFly SunOS))
|
||||
MANDIR ?= $(PREFIX)/man/man1
|
||||
else
|
||||
MANDIR ?= $(PREFIX)/share/man/man1
|
||||
endif
|
||||
|
||||
INSTALL_PROGRAM ?= $(INSTALL) -m 755
|
||||
INSTALL_SCRIPT ?= $(INSTALL) -m 755
|
||||
|
Loading…
Reference in New Issue
Block a user