summaryrefslogtreecommitdiffstats
path: root/sys/boot/alpha
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/alpha
parentad71f55b3686c9edb8a65e2d2103030f430d2b35 (diff)
downloadFreeBSD-src-62afc35080f533a6e389be271149e259a598a84a.zip
FreeBSD-src-62afc35080f533a6e389be271149e259a598a84a.tar.gz
Create backup copies using install(1).
Diffstat (limited to 'sys/boot/alpha')
-rw-r--r--sys/boot/alpha/common/Makefile.common4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/boot/alpha/common/Makefile.common b/sys/boot/alpha/common/Makefile.common
index b3575fb..85467a6 100644
--- a/sys/boot/alpha/common/Makefile.common
+++ b/sys/boot/alpha/common/Makefile.common
@@ -39,6 +39,7 @@ CFLAGS+= -I${.CURDIR}/..
CRT= start.o
STRIP=
BINDIR?= /boot
+INSTALLFLAGS?= -b
all: ${BASE} ${BASE}.help
@@ -58,9 +59,6 @@ ${BASE}.help: help.common help.alpha
cat ${.ALLSRC} | awk -f ${.CURDIR}/../../common/merge_help.awk > ${.TARGET}
beforeinstall:
-.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 \
OpenPOWER on IntegriCloud