Things that install -config scripts need to put them in the right places
This commit is contained in:
parent
28de5c8aaa
commit
de612c0fee
|
@ -22,7 +22,7 @@ install_header ${@CNAME@_HEADER} ${INCLUDEDIR} 0644 || return 1
|
||||||
|
|
||||||
# install config script
|
# install config script
|
||||||
echo "Installing config script into ${PKGCONFDIR}"
|
echo "Installing config script into ${PKGCONFDIR}"
|
||||||
CONFFILE="${BINDIR}/@NAME@-config"
|
CONFFILE="${INSTALL_PREFIX}${BINDIR}/@NAME@-config"
|
||||||
|
|
||||||
do_cmd rm -f "${CONFFILE}"
|
do_cmd rm -f "${CONFFILE}"
|
||||||
do_cmd_redir "${CONFFILE}" sed \
|
do_cmd_redir "${CONFFILE}" sed \
|
||||||
|
|
|
@ -22,7 +22,7 @@ install_header ${@CNAME@_HEADER} ${INCLUDEDIR} 0644 || return 1
|
||||||
|
|
||||||
# install config script
|
# install config script
|
||||||
echo "Installing config script into ${BINDIR}"
|
echo "Installing config script into ${BINDIR}"
|
||||||
CONFFILE="${BINDIR}/@NAME@-config"
|
CONFFILE="${INSTALL_PREFIX}${BINDIR}/@NAME@-config"
|
||||||
|
|
||||||
do_cmd rm -f "${CONFFILE}"
|
do_cmd rm -f "${CONFFILE}"
|
||||||
do_cmd_redir "${CONFFILE}" sed \
|
do_cmd_redir "${CONFFILE}" sed \
|
||||||
|
|
Loading…
Reference in New Issue