summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-09-12 10:25:50 +0000
committerru <ru@FreeBSD.org>2001-09-12 10:25:50 +0000
commit62afc35080f533a6e389be271149e259a598a84a (patch)
tree7f7e642bb2dcf8119c786b865b0f615747922f4f /sys/boot/i386
parentad71f55b3686c9edb8a65e2d2103030f430d2b35 (diff)
downloadFreeBSD-src-62afc35080f533a6e389be271149e259a598a84a.zip
FreeBSD-src-62afc35080f533a6e389be271149e259a598a84a.tar.gz
Create backup copies using install(1).
Diffstat (limited to 'sys/boot/i386')
-rw-r--r--sys/boot/i386/loader/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/boot/i386/loader/Makefile b/sys/boot/i386/loader/Makefile
index 522323e..1b203fc 100644
--- a/sys/boot/i386/loader/Makefile
+++ b/sys/boot/i386/loader/Makefile
@@ -6,6 +6,7 @@ PROG= ${BASE}
STRIP=
NEWVERSWHAT= "bootstrap loader" i386
BINDIR?= /boot
+INSTALLFLAGS= -b
# architecture-specific loader code
SRCS= main.c conf.c
@@ -94,9 +95,6 @@ ${BASE}.help: help.common help.i386
cat ${.ALLSRC} | awk -f ${.CURDIR}/../../common/merge_help.awk > ${.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
OpenPOWER on IntegriCloud