mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-03-23 20:35:16 +00:00
Pay attention to $PREFIX when installing the man page
This commit is contained in:
parent
9a09e92357
commit
fd5ced6902
5
Makefile
5
Makefile
@ -1,5 +1,5 @@
|
||||
PREFIX ?= /usr/local
|
||||
MANDIR ?= /usr/local/share/man/man1/
|
||||
MANDIR ?= $(PREFIX)/share/man/man1/
|
||||
|
||||
all: tippecanoe enumerate decode tile-join
|
||||
|
||||
@ -7,8 +7,9 @@ docs: man/tippecanoe.1
|
||||
|
||||
install: tippecanoe
|
||||
mkdir -p $(PREFIX)/bin
|
||||
mkdir -p $(MANDIR)
|
||||
cp tippecanoe $(PREFIX)/bin/tippecanoe
|
||||
cp man/tippecanoe.1 $(MANDIR)
|
||||
cp man/tippecanoe.1 $(MANDIR)/tippecanoe.1
|
||||
|
||||
man/tippecanoe.1: README.md
|
||||
md2man-roff README.md > man/tippecanoe.1
|
||||
|
Loading…
x
Reference in New Issue
Block a user