mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
Makefile: change the installed manpage destination in FreeBSD (#725)
This commit is contained in:
parent
e4aaf9f697
commit
1cb4979ed7
9
Makefile
9
Makefile
|
|
@ -1,6 +1,13 @@
|
|||
PREFIX ?= /usr/local
|
||||
BINPREFIX ?= "$(PREFIX)/bin"
|
||||
MANPREFIX ?= "$(PREFIX)/share/man/man1"
|
||||
|
||||
OS = $(shell uname)
|
||||
ifeq ($(OS), FreeBSD)
|
||||
MANPREFIX ?= "$(PREFIX)/man/man1"
|
||||
else
|
||||
MANPREFIX ?= "$(PREFIX)/share/man/man1"
|
||||
endif
|
||||
|
||||
SYSCONFDIR ?= $(PREFIX)/etc
|
||||
BINS = $(wildcard bin/git-*)
|
||||
MANS = $(wildcard man/git-*.md)
|
||||
|
|
|
|||
Loading…
Reference in a new issue