~flexibeast/s6-portable-utils-man-pages

9abf09f258f809dcc8fa876cd56fab710735d179 — Alexis 1 year, 5 months ago ccd5c27
Use `MAN_DIR` in Makefile, instead of `MANPATH`.
2 files changed, 3 insertions(+), 3 deletions(-)

M Makefile
M README.md
M Makefile => Makefile +2 -2
@@ 1,7 1,7 @@
DESTDIR  =
PREFIX   = /usr
MANPATH ?= $(PREFIX)/share/man
man1_dir = $(MANPATH)/man1
MAN_DIR ?= $(PREFIX)/share/man
man1_dir = $(MAN_DIR)/man1

man1_targets = \
	s6-basename.1 \

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

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.