From 25072133fb0b24070055c89855290b0ff4f3d43f Mon Sep 17 00:00:00 2001 From: Tom MacWright Date: Fri, 29 May 2015 12:15:48 -0400 Subject: [PATCH] Install manpage --- Makefile | 2 ++ man/tippecanoe.1 | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0021dcd..88481f1 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 b782eb3..734eb3c 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