From fd5ced69021703f6fe43ed0152f5431b1a1fe7c9 Mon Sep 17 00:00:00 2001 From: Eric Fischer Date: Thu, 29 Oct 2015 16:46:57 -0700 Subject: [PATCH] Pay attention to $PREFIX when installing the man page --- Makefile | 5 +++-- version.h | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 8dcb624..412eabc 100644 --- a/Makefile +++ b/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 diff --git a/version.h b/version.h index 25399db..b6e2a08 100644 --- a/version.h +++ b/version.h @@ -1 +1 @@ -#define VERSION "tippecanoe v1.3.0\n" +#define VERSION "tippecanoe v1.3.1\n"