summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-04-22 01:50:52 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-04-22 01:50:52 +0000
commita039b32443b4d07090fd156764e3be8f80c58a29 (patch)
treedcd2f02304d6e81b993cf6be4ea43eb001cbd99d
parent3c9c003d6d6e860f78d0103070623466e5d08138 (diff)
minor cleanups
-rw-r--r--etc/etc.macppc/Makefile.inc10
1 files changed, 3 insertions, 7 deletions
diff --git a/etc/etc.macppc/Makefile.inc b/etc/etc.macppc/Makefile.inc
index a4f9b86eb92..f171ced2185 100644
--- a/etc/etc.macppc/Makefile.inc
+++ b/etc/etc.macppc/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.2 2001/10/03 17:11:32 drahn Exp $
+# $OpenBSD: Makefile.inc,v 1.3 2002/04/22 01:50:51 deraadt Exp $
# etc.macppc/Makefile.inc -- macppc-specific etc Makefile targets
.ifdef DESTDIR
@@ -11,12 +11,12 @@ bsd:
cp ${.CURDIR}/../sys/arch/macppc/compile/GENERIC/bsd \
${DESTDIR}/snapshot/bsd
-# knows about bsd.rd
+# knows about bsd.rd
distrib:
cp ${DESTDIR}/usr/mdec/ofwboot ${DESTDIR}/snapshot/ofwboot
cp ${DESTDIR}/usr/mdec/bsd.tbxi ${DESTDIR}/snapshot/bsd.tbxi
cd ${.CURDIR}/../distrib && make cleandir && \
- make && make install
+ make && make install
mkdir ${DESTDIR}/snapshot/boot
cp ${DESTDIR}/snapshot/bsd.rd ${DESTDIR}/snapshot/boot/bsd.rd
strip ${DESTDIR}/snapshot/boot/bsd.rd
@@ -25,11 +25,7 @@ distrib:
cp ${DESTDIR}/usr/mdec/ofwboot ${DESTDIR}/snapshot/boot
mkisofs -r ${DESTDIR}/snapshot/boot > ${DESTDIR}/snapshot/boot.fs
rm -rf ${DESTDIR}/snapshot/boot
- #
- # compress the bsd.rd files but keep original naming,
- # bootloader can deal with it.
gzip -9 ${DESTDIR}/snapshot/bsd.rd
mv ${DESTDIR}/snapshot/bsd.rd.gz ${DESTDIR}/snapshot/bsd.rd
-
.endif # DESTDIR check