aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/ia64
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2002-03-31 20:48:13 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2002-03-31 20:48:13 +0000
commit16ed9fd6bbe76ffe42b2620bd7523df770b5ef5f (patch)
tree7ae4478a3e131c1825c0ab6619f9309d96629354 /sys/boot/ia64
parentf23d8c713d66885dbe4a8ab3f7785f1e4c0dfa78 (diff)
downloadsrc-16ed9fd6bbe76ffe42b2620bd7523df770b5ef5f.tar.gz
src-16ed9fd6bbe76ffe42b2620bd7523df770b5ef5f.zip
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}.
Notes
Notes: svn path=/head/; revision=93485
Diffstat (limited to 'sys/boot/ia64')
-rw-r--r--sys/boot/ia64/efi/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/boot/ia64/efi/Makefile b/sys/boot/ia64/efi/Makefile
index 0fc9328f85a1..bbae7868713a 100644
--- a/sys/boot/ia64/efi/Makefile
+++ b/sys/boot/ia64/efi/Makefile
@@ -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?