aboutsummaryrefslogtreecommitdiff
path: root/sys/boot
diff options
context:
space:
mode:
authorMike Smith <msmith@FreeBSD.org>1999-01-11 05:52:28 +0000
committerMike Smith <msmith@FreeBSD.org>1999-01-11 05:52:28 +0000
commitba536e2ae80a49be51d10b6d0f63ca2a77458b61 (patch)
tree33c44126c7ebeb342153cec6f265cf35456ad761 /sys/boot
parent096d55fc13200c6aa89b5b81e57c975944881c12 (diff)
Notes
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/i386/loader/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/boot/i386/loader/Makefile b/sys/boot/i386/loader/Makefile
index 72ed9d465ec0..f79ae3f27341 100644
--- a/sys/boot/i386/loader/Makefile
+++ b/sys/boot/i386/loader/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.25 1999/01/09 20:14:46 msmith Exp $
+# $Id: Makefile,v 1.26 1999/01/10 20:20:27 msmith Exp $
BASE= loader
PROG= ${BASE}
@@ -82,6 +82,9 @@ ${BASE}.help: help.common help.i386
perl ${.CURDIR}/../../common/merge_help.pl ${.ALLSRC} > ${.TARGET}
beforeinstall:
+.if exists(${DESTDIR}/boot/loader)
+ mv ${DESTDIR}/boot/loader ${DESTDIR}/boot/loader.old
+.endif
.if exists(${.OBJDIR}/loader.help)
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
${.OBJDIR}/${BASE}.help ${DESTDIR}/boot