build: standardize installation modes

Gentoo was changing some of our installation modes from 0444 to 0644.
There isn't a reason to install things 0444, so we are switching these
to 0644 so the Gentoo ebuild doesn't need this extra step.
This commit is contained in:
William Hubbs 2018-05-11 15:38:27 -05:00
parent f0ad647303
commit 3c53680018

View File

@ -45,20 +45,20 @@ SBINDIR?= ${PREFIX}/sbin
SBINMODE?= 0755 SBINMODE?= 0755
INCDIR?= ${UPREFIX}/include INCDIR?= ${UPREFIX}/include
INCMODE?= 0444 INCMODE?= 0644
_LIBNAME_SH= case `readlink /lib` in /lib64|lib64) echo "lib64";; *) echo "lib";; esac _LIBNAME_SH= case `readlink /lib` in /lib64|lib64) echo "lib64";; *) echo "lib";; esac
_LIBNAME:= $(shell ${_LIBNAME_SH}) _LIBNAME:= $(shell ${_LIBNAME_SH})
LIBNAME?= ${_LIBNAME} LIBNAME?= ${_LIBNAME}
LIBDIR?= ${UPREFIX}/${LIBNAME} LIBDIR?= ${UPREFIX}/${LIBNAME}
LIBMODE?= 0444 LIBMODE?= 0644
SHLIBDIR?= ${PREFIX}/${LIBNAME} SHLIBDIR?= ${PREFIX}/${LIBNAME}
LIBEXECDIR?= ${PREFIX}/libexec/rc LIBEXECDIR?= ${PREFIX}/libexec/rc
MANPREFIX?= ${UPREFIX}/share MANPREFIX?= ${UPREFIX}/share
MANDIR?= ${MANPREFIX}/man MANDIR?= ${MANPREFIX}/man
MANMODE?= 0444 MANMODE?= 0644
BASHCOMPDIR?= ${UPREFIX}/share/bash-completion/completions BASHCOMPDIR?= ${UPREFIX}/share/bash-completion/completions