add check for MANPREFIX (#510)

This commit is contained in:
A. Tammy 2020-08-13 16:02:34 -04:00 committed by GitHub
parent 57a3f317ad
commit 2cd21c2db2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -4,7 +4,9 @@ OS = $(shell uname -s)
ifndef PREFIX
PREFIX = /usr/local
endif
MANPREFIX = $(PREFIX)/share/man
ifndef MANPREFIX
MANPREFIX = $(PREFIX)/share/man
endif
install:
mkdir -p $(DESTDIR)$(PREFIX)/bin