Use more conventional permissions and man-page directory

As 444 and 555 seem to be used for no apparent reason, use the more
conventional 644 and 755.

/man is typically unused or a symlink to /share/man now, so just use
/share/man.

Signed-off-by: JL2210 <larrowe.semaj11@gmail.com>
This commit is contained in:
JL2210
2020-04-05 16:00:45 -04:00
parent 153915dc2f
commit 1e3ce2a36f
2 changed files with 6 additions and 6 deletions

View File

@@ -14,10 +14,10 @@
Q := @ Q := @
PREFIX := /usr/local PREFIX := /usr/local
bindir := ${PREFIX}/bin bindir := ${PREFIX}/bin
mandir := ${PREFIX}/man mandir := ${PREFIX}/share/man
STRIP := -s STRIP := -s
BINMODE := 555 BINMODE := 755
MANMODE := 444 MANMODE := 644
CHECKPATCH := ../linux/scripts/checkpatch.pl CHECKPATCH := ../linux/scripts/checkpatch.pl
# Other variables # Other variables

View File

@@ -147,7 +147,7 @@ This is the complete list of user-defined variables:
``${PREFIX}/bin``. ``${PREFIX}/bin``.
- ``mandir``: Location where the manpages will be installed. Defaults to - ``mandir``: Location where the manpages will be installed. Defaults to
``${PREFIX}/man``. ``${PREFIX}/share/man``.
- ``DESTDIR``: This is prepended to all paths during the installation. It is - ``DESTDIR``: This is prepended to all paths during the installation. It is
mainly used for packaging. mainly used for packaging.
@@ -158,9 +158,9 @@ This is the complete list of user-defined variables:
- ``STRIP``: Whether to strip the installed binaries of debug symbols or not. - ``STRIP``: Whether to strip the installed binaries of debug symbols or not.
Defaults to ``-s``. Defaults to ``-s``.
- ``BINMODE``: Permissions of the installed binaries. Defaults to ``555``. - ``BINMODE``: Permissions of the installed binaries. Defaults to ``755``.
- ``MANMODE``: Permissions of the installed manpages. Defaults to ``444``. - ``MANMODE``: Permissions of the installed manpages. Defaults to ``644``.
- ``CHECKPATCH``: Path of the script ``checkpatch.pl`` of the Linux kernel. - ``CHECKPATCH``: Path of the script ``checkpatch.pl`` of the Linux kernel.
Defaults to ``../linux/scripts/checkpatch.pl``. Defaults to ``../linux/scripts/checkpatch.pl``.