NetBSD/distrib/common/Makefile.distrib
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

21 lines
712 B
Makefile

# $NetBSD: Makefile.distrib,v 1.1 2002/05/02 18:02:30 lukem Exp $
#
# Makefile snippet to setup various make variables variables used in distrib/:
# variables:
# DISTRIBDIR Top level of distrib
# DISTRIBREV NetBSD version without dots, as in "15ZD"
# DISTRIBVER NetBSD version with dots, as in "1.5ZD"
#
# commands:
# MAKESUMS runs sets/makesums with the appropriate environment
# RELEASE_INSTALL installs release binaries
#
#
DISTRIBDIR= ${NETBSDSRCDIR}/distrib
DISTRIBREV!= sh ${NETBSDSRCDIR}/sys/conf/osrelease.sh -s
DISTRIBVER!= sh ${NETBSDSRCDIR}/sys/conf/osrelease.sh
MAKESUMS= CKSUM=${CKSUM:Q} sh ${DISTRIBDIR}/sets/makesums
RELEASE_INSTALL=${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE}