diff options
author | Przemyslaw Skibinski <inikep@gmail.com> | 2016-12-28 10:34:23 (GMT) |
---|---|---|
committer | Przemyslaw Skibinski <inikep@gmail.com> | 2016-12-28 10:34:23 (GMT) |
commit | 7a73c5c1fe1cf3c95fded86cf5051a70327dcfd1 (patch) | |
tree | b4f339e4b97ee129fb7c8b55626fccbb3bed0cc7 /programs | |
parent | e6536faf337e1c4e202f32bec860e2c87511d7f3 (diff) | |
download | lz4-7a73c5c1fe1cf3c95fded86cf5051a70327dcfd1.zip lz4-7a73c5c1fe1cf3c95fded86cf5051a70327dcfd1.tar.gz lz4-7a73c5c1fe1cf3c95fded86cf5051a70327dcfd1.tar.bz2 |
changed default PREFIX and MANDIR
Diffstat (limited to 'programs')
-rw-r--r-- | programs/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/programs/Makefile b/programs/Makefile index 07bec03..060ce21 100644 --- a/programs/Makefile +++ b/programs/Makefile @@ -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 |