shithub: rgbds

Download patch

ref: c86e6fef0ac5f7432bec75b4a3571fc588beaaeb
parent: 153915dc2ff73312354eab20f90f7558759c44bd
parent: 1e3ce2a36f651641b9158a476dd65ebda0978b83
author: Eldred Habert <eldredhabert0@gmail.com>
date: Sun Apr 5 20:25:33 EDT 2020

Merge pull request #502 from JL2210/more-conventional-permissions

Use more conventional permissions and man-page directory

--- a/Makefile
+++ b/Makefile
@@ -14,10 +14,10 @@
 Q		:= @
 PREFIX		:= /usr/local
 bindir		:= ${PREFIX}/bin
-mandir		:= ${PREFIX}/man
+mandir		:= ${PREFIX}/share/man
 STRIP		:= -s
-BINMODE		:= 555
-MANMODE		:= 444
+BINMODE		:= 755
+MANMODE		:= 644
 CHECKPATCH	:= ../linux/scripts/checkpatch.pl
 
 # Other variables
--- a/README.rst
+++ b/README.rst
@@ -147,7 +147,7 @@
   ``${PREFIX}/bin``.
 
 - ``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
   mainly used for packaging.
@@ -158,9 +158,9 @@
 - ``STRIP``: Whether to strip the installed binaries of debug symbols or not.
   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.
   Defaults to ``../linux/scripts/checkpatch.pl``.