diff --git a/Makefile b/Makefile index 0021dcdd..88481f11 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,12 @@ PREFIX ?= /usr/local +MANDIR ?= /usr/share/man/man1/ all: tippecanoe enumerate decode man/tippecanoe.1 install: tippecanoe mkdir -p $(PREFIX)/bin cp tippecanoe $(PREFIX)/bin/tippecanoe + cp man/tippecanoe.1 $(MANDIR) man/tippecanoe.1: README.md md2man-roff README.md > man/tippecanoe.1 diff --git a/man/tippecanoe.1 b/man/tippecanoe.1 index b782eb38..734eb3c4 100644 --- a/man/tippecanoe.1 +++ b/man/tippecanoe.1 @@ -183,7 +183,8 @@ lower resolutions before failing if it still doesn't fit. .PP Requires protoc (\fB\fCbrew install protobuf\fR or \fB\fCapt\-get install libprotobuf\-dev\fR and \fB\fCprotobuf\-compiler\fR), -and sqlite3 (\fB\fCapt\-get install libsqlite3\-dev\fR). To build: +\fB\fCmd2man\fR (\fB\fCgem install md2man\fR), and sqlite3 (\fB\fCapt\-get install libsqlite3\-dev\fR). +To build: .PP .RS .nf