mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-05 18:05:42 +02:00
Pay attention to $PREFIX when installing the man page
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
PREFIX ?= /usr/local
|
PREFIX ?= /usr/local
|
||||||
MANDIR ?= /usr/local/share/man/man1/
|
MANDIR ?= $(PREFIX)/share/man/man1/
|
||||||
|
|
||||||
all: tippecanoe enumerate decode tile-join
|
all: tippecanoe enumerate decode tile-join
|
||||||
|
|
||||||
@@ -7,8 +7,9 @@ docs: man/tippecanoe.1
|
|||||||
|
|
||||||
install: tippecanoe
|
install: tippecanoe
|
||||||
mkdir -p $(PREFIX)/bin
|
mkdir -p $(PREFIX)/bin
|
||||||
|
mkdir -p $(MANDIR)
|
||||||
cp tippecanoe $(PREFIX)/bin/tippecanoe
|
cp tippecanoe $(PREFIX)/bin/tippecanoe
|
||||||
cp man/tippecanoe.1 $(MANDIR)
|
cp man/tippecanoe.1 $(MANDIR)/tippecanoe.1
|
||||||
|
|
||||||
man/tippecanoe.1: README.md
|
man/tippecanoe.1: README.md
|
||||||
md2man-roff README.md > man/tippecanoe.1
|
md2man-roff README.md > man/tippecanoe.1
|
||||||
|
|||||||
Reference in New Issue
Block a user