Properly set ${SHAREDIR}
This commit is contained in:
parent
87e377dc4b
commit
3226cfafa9
|
@ -65,6 +65,7 @@ case "${PREFIX}" in
|
||||||
MY_INCLUDEDIR="${PREFIX}/include"
|
MY_INCLUDEDIR="${PREFIX}/include"
|
||||||
MY_CONFIGDIR="${PREFIX}/etc"
|
MY_CONFIGDIR="${PREFIX}/etc"
|
||||||
MY_VARDIR="${PREFIX}/var"
|
MY_VARDIR="${PREFIX}/var"
|
||||||
|
MY_SHAREDIR="${PREFIX}/share"
|
||||||
MY_DOCSDIR="${PREFIX}/share/doc"
|
MY_DOCSDIR="${PREFIX}/share/doc"
|
||||||
MY_WEBDIR="${PREFIX}/srv/http"
|
MY_WEBDIR="${PREFIX}/srv/http"
|
||||||
;;
|
;;
|
||||||
|
@ -77,6 +78,7 @@ esac
|
||||||
[ -z "${INCLUDEDIR}" ] && INCLUDEDIR="${MY_INCLUDEDIR}"
|
[ -z "${INCLUDEDIR}" ] && INCLUDEDIR="${MY_INCLUDEDIR}"
|
||||||
[ -z "${CONFIGDIR}" ] && CONFIGDIR="${MY_CONFIGDIR}"
|
[ -z "${CONFIGDIR}" ] && CONFIGDIR="${MY_CONFIGDIR}"
|
||||||
[ -z "${VARDIR}" ] && VARDIR="${MY_VARDIR}"
|
[ -z "${VARDIR}" ] && VARDIR="${MY_VARDIR}"
|
||||||
|
[ -z "${SHAREDIR}" ] && SHAREDIR="${MY_SHAREDIR}"
|
||||||
[ -z "${DOCSDIR}" ] && DOCSDIR="${MY_DOCSDIR}"
|
[ -z "${DOCSDIR}" ] && DOCSDIR="${MY_DOCSDIR}"
|
||||||
[ -z "${WEBDIR}" ] && WEBDIR="${MY_WEBDIR}"
|
[ -z "${WEBDIR}" ] && WEBDIR="${MY_WEBDIR}"
|
||||||
[ -z "${CGIDIR}" ] && CGIDIR="${WEBDIR}/cgi-bin"
|
[ -z "${CGIDIR}" ] && CGIDIR="${WEBDIR}/cgi-bin"
|
||||||
|
|
Loading…
Reference in New Issue