Only install the help file if we can find it. Use ${BASE}.help

in both the condition and for the install. We expect to find
the help file in ${.OBJDIR}.
This commit is contained in:
marcel 2002-03-31 20:48:13 +00:00
parent 0d49eb04ea
commit 2830f94478
2 changed files with 2 additions and 8 deletions

View File

@ -71,12 +71,9 @@ ${BASE}.help: help.common help.efi
> ${.TARGET}
beforeinstall:
.if exists(${.OBJDIR}/loader.help)
.if exists(${.OBJDIR}/${BASE}.help)
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
${.OBJDIR}/${BASE}.help ${DESTDIR}/boot
.else
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
${.CURDIR}/${BASE}.help ${DESTDIR}/boot
.endif
# Other fragments still to be brought in from ../Makfile.booters?

View File

@ -71,12 +71,9 @@ ${BASE}.help: help.common help.efi
> ${.TARGET}
beforeinstall:
.if exists(${.OBJDIR}/loader.help)
.if exists(${.OBJDIR}/${BASE}.help)
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
${.OBJDIR}/${BASE}.help ${DESTDIR}/boot
.else
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
${.CURDIR}/${BASE}.help ${DESTDIR}/boot
.endif
# Other fragments still to be brought in from ../Makfile.booters?