NetBSD/distrib/acorn32/Makefile
lukem ed8e534c7e yet another distrib overhaul:
- move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib
  (fixes problem caused by implicit include of ../Makefile.inc in certain
  submake conditions triggered by makefiles not yet in tree)
- removed mkdir of ${RELEASEDIR}/*;  rely upon "snap_pre" target of
  etc/Makefile to create all the release directories
- renamed RELINSTALL to RELEASE_INSTALL
- renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR
- renamed MDSETDIR to MDSET_RELEASEDIR
- removed ITARGET
- move release target from top level to appropriate subdirectory
- ensure release target has correct depends
- replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD
- Makefile.image: add realall: ${IMAGE}
2002-05-02 18:02:14 +00:00

25 lines
796 B
Makefile

# $NetBSD: Makefile,v 1.14 2002/05/02 18:02:17 lukem Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
SUBDIR= ramdisk .WAIT kernels
TARGETS+= release
release: check_RELEASEDIR
cd ${NETBSDSRCDIR}/sys/arch/acorn32/stand && \
./export-BtNetBSD && \
rm -f ${RELEASEDIR}/installation/misc/BtNetBSD.tgz && \
gzip -9 -c BtNetBSD.tar > \
${RELEASEDIR}/installation/misc/BtNetBSD.tgz && \
rm -f BtNetBSD.tar && \
mv -f BtNetBSD.zip ${RELEASEDIR}/installation/misc && \
${RELEASE_INSTALL} ${DISTRIBDIR}/notes/acorn32/prep.RISCOS \
${RELEASEDIR}/
cd ${.CURDIR} && \
rm -f ${RELEASEDIR}/installation/misc/gzip_ff8.bin && \
uudecode < gzip_ff8.bin.uue && \
mv -f gzip_ff8.bin ${RELEASEDIR}/installation/misc/
.include <bsd.subdir.mk>