Browse Source

unify

OPENBSD_4_0
deraadt 18 years ago
parent
commit
94382e6bbf
1 changed files with 7 additions and 7 deletions
  1. +7
    -7
      src/etc/etc.mvmeppc/Makefile.inc

+ 7
- 7
src/etc/etc.mvmeppc/Makefile.inc View File

@ -1,8 +1,7 @@
# $OpenBSD: Makefile.inc,v 1.2 2002/05/13 07:22:43 espie Exp $
# etc.mvmeppc/Makefile.inc -- mvmeppc-specific etc Makefile targets
# $OpenBSD: Makefile.inc,v 1.3 2006/07/27 02:50:22 deraadt Exp $
.ifdef DESTDIR .ifdef DESTDIR
snap_md: bsd distrib1
snap_md: bsd bootblocks distrib1
cp ${.CURDIR}/../sys/arch/mvmeppc/compile/GENERIC/bsd \ cp ${.CURDIR}/../sys/arch/mvmeppc/compile/GENERIC/bsd \
${DESTDIR}/snapshot/bsd ${DESTDIR}/snapshot/bsd
@ -11,11 +10,13 @@ bsd:
cd ${.CURDIR}/../sys/arch/mvmeppc/compile/GENERIC && \ cd ${.CURDIR}/../sys/arch/mvmeppc/compile/GENERIC && \
${MAKE} clean && ${MAKE} depend && exec ${MAKE} ${MAKE} clean && ${MAKE} depend && exec ${MAKE}
# knows about bsd.rd and bsdofw.rd
distrib1:
bootblocks:
cp ${DESTDIR}/usr/mdec/bootxx ${DESTDIR}/snapshot/bootxx cp ${DESTDIR}/usr/mdec/bootxx ${DESTDIR}/snapshot/bootxx
cp ${DESTDIR}/usr/mdec/bootsd ${DESTDIR}/snapshot/bootsd cp ${DESTDIR}/usr/mdec/bootsd ${DESTDIR}/snapshot/bootsd
cp ${DESTDIR}/usr/mdec/installboot ${DESTDIR}/snapshot/installboot cp ${DESTDIR}/usr/mdec/installboot ${DESTDIR}/snapshot/installboot
# knows about bsd.rd and bsdofw.rd
distrib1:
${MAKE} distrib ${MAKE} distrib
mkdir ${DESTDIR}/snapshot/boot mkdir ${DESTDIR}/snapshot/boot
cp ${DESTDIR}/snapshot/bsd.rd ${DESTDIR}/snapshot/boot/bsd.rd cp ${DESTDIR}/snapshot/bsd.rd ${DESTDIR}/snapshot/boot/bsd.rd
@ -31,7 +32,6 @@ distrib1:
gzip -9 ${DESTDIR}/snapshot/bsd.rd gzip -9 ${DESTDIR}/snapshot/bsd.rd
mv ${DESTDIR}/snapshot/bsd.rd.gz ${DESTDIR}/snapshot/bsd.rd mv ${DESTDIR}/snapshot/bsd.rd.gz ${DESTDIR}/snapshot/bsd.rd
.PHONY: bsd distrib1
.PHONY: bsd bootblocks distrib1
.endif # DESTDIR check .endif # DESTDIR check

Loading…
Cancel
Save