cleanup and use some more appropriate variables and targets
This commit is contained in:
parent
c8200aaa83
commit
9c0d5339f3
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.7 2002/03/06 12:39:10 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.8 2002/03/06 13:27:22 lukem Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
@ -6,33 +6,27 @@ ITARGET= ${RELEASEDIR}/installation
|
||||
IINST= ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE}
|
||||
KERNELS= INSTALL
|
||||
|
||||
SUBDIR= ramdisk kernels
|
||||
SUBDIR= ramdisk kernels
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
|
||||
.ifndef RELEASEDIR
|
||||
release:
|
||||
@echo setenv RELEASEDIR first
|
||||
@false
|
||||
.else
|
||||
RAMDISKOBJ != cd ${.CURDIR}/ramdisk && ${PRINTOBJDIR}
|
||||
KERNELOBJ != cd ${.CURDIR}/kernels && ${PRINTOBJDIR}
|
||||
RAMDISKOBJ!= cd ${.CURDIR}/ramdisk && ${PRINTOBJDIR}
|
||||
KERNELOBJ!= cd ${.CURDIR}/kernels && ${PRINTOBJDIR}
|
||||
|
||||
release:
|
||||
${IINST} ${RAMDISKOBJ}/ramdisk-${DISTRIBREV}.fs.gz ${ITARGET}/misc/
|
||||
release: check_RELEASEDIR
|
||||
${IINST} ${RAMDISKOBJ}/ramdisk.fs ${ITARGET}/misc/ramdisk-${DISTRIBREV}.fs
|
||||
gzip -9 ${ITARGET}/misc/ramdisk-${DISTRIBREV}.fs
|
||||
.for kern in ${KERNELS}
|
||||
${IINST} ${KERNELOBJ}/netbsd.${kern}.gz ${ITARGET}/kernel/
|
||||
.endfor
|
||||
cd ${.CURDIR}/../../sys/arch/acorn32/stand && \
|
||||
cd ${_SRC_TOP_}/sys/arch/acorn32/stand && \
|
||||
./export-BtNetBSD && \
|
||||
rm -f ${ITARGET}/misc/BtNetBSD.tgz && \
|
||||
gzip -9 -c BtNetBSD.tar > ${ITARGET}/misc/BtNetBSD.tgz && \
|
||||
rm -f BtNetBSD.tar && \
|
||||
mv -f BtNetBSD.zip ${ITARGET}/misc && \
|
||||
${IINST} ${.CURDIR}/../notes/acorn32/prep.RISCOS ${RELEASEDIR}/ && \
|
||||
${IINST} ${DISTRIBDIR}/notes/acorn32/prep.RISCOS ${RELEASEDIR}/ && \
|
||||
cd ${.CURDIR} && \
|
||||
rm -f ${ITARGET}/misc/gzip_ff8.bin && \
|
||||
uudecode < gzip_ff8.bin.uue && \
|
||||
mv -f gzip_ff8.bin ${ITARGET}/misc/
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user