DIR should be prefixed already.
This commit is contained in:
parent
a2a7f0740e
commit
74bff8a931
@ -25,21 +25,21 @@ all: ${OBJS}
|
|||||||
|
|
||||||
realinstall: ${BIN} ${CONF} ${CONF_APPEND}
|
realinstall: ${BIN} ${CONF} ${CONF_APPEND}
|
||||||
@if test -n "${DIR}"; then \
|
@if test -n "${DIR}"; then \
|
||||||
${ECHO} ${INSTALL} -d ${DESTDIR}/${PREFIX}${DIR}; \
|
${ECHO} ${INSTALL} -d ${DESTDIR}/${DIR}; \
|
||||||
${INSTALL} -d ${DESTDIR}/${PREFIX}${DIR} || exit $$?; \
|
${INSTALL} -d ${DESTDIR}/${DIR} || exit $$?; \
|
||||||
fi
|
fi
|
||||||
@if test -n "${BIN}"; then \
|
@if test -n "${BIN}"; then \
|
||||||
${ECHO} ${INSTALL} -m ${BINMODE} ${BIN} ${DESTDIR}/${PREFIX}${DIR}; \
|
${ECHO} ${INSTALL} -m ${BINMODE} ${BIN} ${DESTDIR}/${DIR}; \
|
||||||
${INSTALL} -m ${BINMODE} ${BIN} ${DESTDIR}/${PREFIX}${DIR} || exit $$?; \
|
${INSTALL} -m ${BINMODE} ${BIN} ${DESTDIR}/${DIR} || exit $$?; \
|
||||||
fi
|
fi
|
||||||
@if test -n "${INC}"; then \
|
@if test -n "${INC}"; then \
|
||||||
${ECHO} ${INSTALL} -m ${INCMODE} ${INC} ${DESTDIR}/${PREFIX}${DIR}; \
|
${ECHO} ${INSTALL} -m ${INCMODE} ${INC} ${DESTDIR}/${DIR}; \
|
||||||
${INSTALL} -m ${INCMODE} ${INC} ${DESTDIR}/${PREFIX}${DIR} || exit $$?; \
|
${INSTALL} -m ${INCMODE} ${INC} ${DESTDIR}/${DIR} || exit $$?; \
|
||||||
fi
|
fi
|
||||||
@for x in ${CONF}; do \
|
@for x in ${CONF}; do \
|
||||||
if ! test -e ${DESTDIR}/${PREFIX}${DIR}/$$x; then \
|
if ! test -e ${DESTDIR}/${PREFIX}${DIR}/$$x; then \
|
||||||
${ECHO} ${INSTALL} -m ${CONFMODE} $$x ${DESTDIR}/${PREFIX}${DIR}; \
|
${ECHO} ${INSTALL} -m ${CONFMODE} $$x ${DESTDIR}/${DIR}; \
|
||||||
${INSTALL} -m ${CONFMODE} $$x ${DESTDIR}/${PREFIX}${DIR} || exit $$?; \
|
${INSTALL} -m ${CONFMODE} $$x ${DESTDIR}/${DIR} || exit $$?; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user