Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
Use MAN_DIR in Makefile, instead of MANPATH.
Browse files Browse the repository at this point in the history
  • Loading branch information
flexibeast committed Apr 4, 2023
1 parent a38c287 commit 590a1ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 590a1ee

Please sign in to comment.