]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
changed default PREFIX and MANDIR 503/head
authorPrzemyslaw Skibinski <inikep@gmail.com>
Wed, 28 Dec 2016 11:32:41 +0000 (12:32 +0100)
committerPrzemyslaw Skibinski <inikep@gmail.com>
Wed, 28 Dec 2016 11:32:41 +0000 (12:32 +0100)
lib/Makefile
programs/Makefile

index cd87e7756a059ed1e97cc5846f011550f418d8ca..efd3b87fef8829ad8340d022ba5296447195f76b 100644 (file)
@@ -98,12 +98,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
index 8ec9fc698b1641abb4d7cb95bea0c726c0c1026f..15ae010967a0d8deb9c9973d09375d6b825d04f6 100644 (file)
@@ -156,15 +156,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