Install manpage

This commit is contained in:
Tom MacWright 2015-05-29 12:15:48 -04:00
parent 142ea37e17
commit 25072133fb
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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