From e27cdad86b33fbd4bf417817edfc51955552a318 Mon Sep 17 00:00:00 2001 From: marcel Date: Fri, 29 Mar 2002 22:53:56 +0000 Subject: Fix the beforeinstall target. We install ${PROG}.help if loader.help exists, otherwise we install it anyway. I interpret this as a very high desire to install ${PROG}.help. Alas, ${PROG}.help doesn't exist at the moment and neither does loader.help, so in practice this just doesn't work, no matter how you interpret it. The compromise is to install ${PROG}.help IFF it exists. I realize we lost creativity with this commit, but style should have been preserved, AFAICT :-) --- sys/boot/ia64/skiload/Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'sys/boot/ia64/skiload') diff --git a/sys/boot/ia64/skiload/Makefile b/sys/boot/ia64/skiload/Makefile index 4776228..1b8e032 100644 --- a/sys/boot/ia64/skiload/Makefile +++ b/sys/boot/ia64/skiload/Makefile @@ -69,12 +69,9 @@ ${PROG}.help: help.common help.efi > ${.TARGET} beforeinstall: -.if exists(${.OBJDIR}/loader.help) +.if exists(${.OBJDIR}/${PROG}.help) ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \ ${.OBJDIR}/${PROG}.help ${DESTDIR}/boot -.else - ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \ - ${.CURDIR}/${PROG}.help ${DESTDIR}/boot .endif # Other fragments still to be brought in from ../Makfile.booters? -- cgit v1.1