diff options
author | ru <ru@FreeBSD.org> | 2001-09-12 10:25:50 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-09-12 10:25:50 +0000 |
commit | 62afc35080f533a6e389be271149e259a598a84a (patch) | |
tree | 7f7e642bb2dcf8119c786b865b0f615747922f4f /sys/boot/powerpc | |
parent | ad71f55b3686c9edb8a65e2d2103030f430d2b35 (diff) | |
download | FreeBSD-src-62afc35080f533a6e389be271149e259a598a84a.zip FreeBSD-src-62afc35080f533a6e389be271149e259a598a84a.tar.gz |
Create backup copies using install(1).
Diffstat (limited to 'sys/boot/powerpc')
-rw-r--r-- | sys/boot/powerpc/loader/Makefile | 4 | ||||
-rw-r--r-- | sys/boot/powerpc/ofw/Makefile | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/sys/boot/powerpc/loader/Makefile b/sys/boot/powerpc/loader/Makefile index f962170..cd8ccaf 100644 --- a/sys/boot/powerpc/loader/Makefile +++ b/sys/boot/powerpc/loader/Makefile @@ -6,6 +6,7 @@ NOMAN= STRIP= NEWVERSWHAT= "bootstrap loader" OpenFirmware/PowerPC BINDIR?= /boot +INSTALLFLAGS= -b LOADER_DISK_SUPPORT?= yes LOADER_NET_SUPPORT?= yes @@ -76,9 +77,6 @@ ${BASE}.help: help.common help.ofw 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 diff --git a/sys/boot/powerpc/ofw/Makefile b/sys/boot/powerpc/ofw/Makefile index f962170..cd8ccaf 100644 --- a/sys/boot/powerpc/ofw/Makefile +++ b/sys/boot/powerpc/ofw/Makefile @@ -6,6 +6,7 @@ NOMAN= STRIP= NEWVERSWHAT= "bootstrap loader" OpenFirmware/PowerPC BINDIR?= /boot +INSTALLFLAGS= -b LOADER_DISK_SUPPORT?= yes LOADER_NET_SUPPORT?= yes @@ -76,9 +77,6 @@ ${BASE}.help: help.common help.ofw 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 |