Fix a little breakage with last commit.

This commit is contained in:
Roy Marples 2008-01-09 23:56:07 +00:00
parent 5b30c5154d
commit f8d15a5f7b

View File

@ -20,7 +20,7 @@ CONTENTS= ${_CONTENTS}$(shell ${_CONTENTS_SH})
# Recursive rules # Recursive rules
# Adapted from FreeBSDs bsd.subdir.mk # Adapted from FreeBSDs bsd.subdir.mk
_+_ ?= + _+_ ?= +
ECHODIR ?= true ECHODIR ?= echo
_SUBDIR = @${_+_}for x in ${SUBDIR}; do \ _SUBDIR = @${_+_}for x in ${SUBDIR}; do \
if test -d $$x; then \ if test -d $$x; then \
${ECHODIR} "===> ${DIRPRFX}$$x ($@)"; \ ${ECHODIR} "===> ${DIRPRFX}$$x ($@)"; \
@ -46,8 +46,8 @@ install::
${_SUBDIR} ${_SUBDIR}
install:: ${BIN} ${CONF} ${CONF_APPEND} install:: ${BIN} ${CONF} ${CONF_APPEND}
if test -n "${DIR}"; then ${INSTALL} -d ${DESTDIR}$(DIR} || exit $$?; fi if test -n "${DIR}"; then ${INSTALL} -d ${DESTDIR}${DIR} || exit $$?; fi
if test -n "${BIN}"; then ${INSTALL} ${BIN} ${DESTDIR}$(DIR} || exit $$?; fi if test -n "${BIN}"; then ${INSTALL} ${BIN} ${DESTDIR}${DIR} || exit $$?; fi
if test -n "${INC}"; then ${INSTALL} -m 0644 ${INC} ${DESTDIR}${DIR} || exit $$?; fi if test -n "${INC}"; then ${INSTALL} -m 0644 ${INC} ${DESTDIR}${DIR} || exit $$?; fi
for x in ${CONF}; do \ for x in ${CONF}; do \
if ! test -e ${DESTDIR}${DIR}/$$x; then \ if ! test -e ${DESTDIR}${DIR}/$$x; then \