~flexibeast/s6-networking-man-pages

590a1eea9b1be5da2f09943531cbde9f4c305c1a — Alexis 1 year, 6 months ago a38c287
Use `MAN_DIR` in Makefile, instead of `MANPATH`.
2 files changed, 4 insertions(+), 4 deletions(-)

M Makefile
M README.md
M Makefile => Makefile +3 -3
@@ 1,8 1,8 @@
DESTDIR  =
PREFIX   = /usr
MANPATH ?= $(PREFIX)/share/man
man7_dir = $(MANPATH)/man7
man8_dir = $(MANPATH)/man8
MAN_DIR ?= $(PREFIX)/share/man
man7_dir = $(MAN_DIR)/man7
man8_dir = $(MAN_DIR)/man8

man7_targets = \
	s6-tls.7

M README.md => README.md +1 -1
@@ 10,7 10,7 @@ issue in this repository.
To install the man pages, run `make`.

The default installation directory is `/usr/share/man`, but this can
be changed by setting the `MANPATH` environment variable prior to
be changed by setting the `MAN_DIR` environment variable prior to
running `make`.  The user running `make` will need to have the
appropriate permissions for installation in the chosen directory.