diff options
| author | Mike Smith <msmith@FreeBSD.org> | 2000-05-06 18:31:26 +0000 |
|---|---|---|
| committer | Mike Smith <msmith@FreeBSD.org> | 2000-05-06 18:31:26 +0000 |
| commit | 1fd777e1d510a2475a6883faa67dfc62bd8bfb66 (patch) | |
| tree | 02a7914564876b607242b2b6de2a2887a4b2897d /sys/boot/alpha/common | |
| parent | 4acd9537ae7ebdf111bf7951544c2881ff81a8e0 (diff) | |
Notes
Diffstat (limited to 'sys/boot/alpha/common')
| -rw-r--r-- | sys/boot/alpha/common/Makefile.common | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/boot/alpha/common/Makefile.common b/sys/boot/alpha/common/Makefile.common index fb2fc911914e..616e92a46f42 100644 --- a/sys/boot/alpha/common/Makefile.common +++ b/sys/boot/alpha/common/Makefile.common @@ -58,9 +58,12 @@ ${BASE}.sym: ${OBJS} ${LIBSTAND} ${LIBFICL} ${LIBALPHA} ${CRT} vers.o setdef0.o ${BASE}.help: help.common help.alpha cat ${.ALLSRC} | awk -f ${.CURDIR}/../../common/merge_help.awk > ${.TARGET} -.ifdef INSTALL_HELP beforeinstall: -.if exists(${.OBJDIR}/loader.help) +.if exists(${DESTDIR}/boot/${BASE}) + mv ${DESTDIR}/boot/${BASE} ${DESTDIR}/boot/${BASE}.old +.endif +.ifdef INSTALL_HELP +.if exists(${.OBJDIR}/${BASE}.help) ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \ ${.OBJDIR}/${BASE}.help ${DESTDIR}/boot .else |
