summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2002-03-31 20:48:13 +0000
committermarcel <marcel@FreeBSD.org>2002-03-31 20:48:13 +0000
commit2830f94478ba662368fe19fc96009949b87d04c0 (patch)
tree7ae4478a3e131c1825c0ab6619f9309d96629354 /sys/boot
parent0d49eb04ead2a92759d1ac4d7bc7ce0d060e7073 (diff)
downloadFreeBSD-src-2830f94478ba662368fe19fc96009949b87d04c0.zip
FreeBSD-src-2830f94478ba662368fe19fc96009949b87d04c0.tar.gz
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}.
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/efi/loader/Makefile5
-rw-r--r--sys/boot/ia64/efi/Makefile5
2 files changed, 2 insertions, 8 deletions
diff --git a/sys/boot/efi/loader/Makefile b/sys/boot/efi/loader/Makefile
index 0fc9328..bbae786 100644
--- a/sys/boot/efi/loader/Makefile
+++ b/sys/boot/efi/loader/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?
diff --git a/sys/boot/ia64/efi/Makefile b/sys/boot/ia64/efi/Makefile
index 0fc9328..bbae786 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?
OpenPOWER on IntegriCloud