Makefile (5d27274a0641e9e4e23b01d59e3c2944a9ec3703) Makefile (9d22cb2e69aef3a0dd861dce2910357e900bc208)
1# $FreeBSD$
2#
3# Makefile for building releases and release media.
4#
5# User-driven targets:
6# cdrom: Builds release CD-ROM media (disc1.iso)
7# dvdrom: Builds release DVD-ROM media (dvd1.iso)
8# memstick: Builds memory stick image (memstick.img)
9# mini-memstick: Builds minimal memory stick image (mini-memstick.img)
10# ftp: Sets up FTP distribution area (ftp)
11# release: Build all media and FTP distribution area
12# install: Copies all release media into ${DESTDIR}
13#
14# Variables affecting the build process:
15# WORLDDIR: location of src tree -- must have built world and default kernel
16# (by default, the directory above this one)
17# PORTSDIR: location of ports tree to distribute (default: /usr/ports)
18# DOCDIR: location of doc tree (default: /usr/doc)
1# $FreeBSD$
2#
3# Makefile for building releases and release media.
4#
5# User-driven targets:
6# cdrom: Builds release CD-ROM media (disc1.iso)
7# dvdrom: Builds release DVD-ROM media (dvd1.iso)
8# memstick: Builds memory stick image (memstick.img)
9# mini-memstick: Builds minimal memory stick image (mini-memstick.img)
10# ftp: Sets up FTP distribution area (ftp)
11# release: Build all media and FTP distribution area
12# install: Copies all release media into ${DESTDIR}
13#
14# Variables affecting the build process:
15# WORLDDIR: location of src tree -- must have built world and default kernel
16# (by default, the directory above this one)
17# PORTSDIR: location of ports tree to distribute (default: /usr/ports)
18# DOCDIR: location of doc tree (default: /usr/doc)
19# NOPKG: if set, do not distribute third-party packages
19# NOPORTS: if set, do not distribute ports tree
20# NOSRC: if set, do not distribute source tree
21# NODOC: if set, do not generate release documentation
22# NODVD: if set, do not generate dvd1.iso
23# TARGET/TARGET_ARCH: architecture of built release
24#
25
26WORLDDIR?= ${.CURDIR}/..

--- 180 unchanged lines hidden (view full) ---

207mini-memstick.img: system
208 sh ${.CURDIR}/${TARGET}/make-memstick.sh bootonly ${.TARGET}
209
210packagesystem: base.txz kernel.txz ${EXTRA_PACKAGES}
211 sh ${.CURDIR}/scripts/make-manifest.sh *.txz > MANIFEST
212 touch ${.TARGET}
213
214pkg-stage:
20# NOPORTS: if set, do not distribute ports tree
21# NOSRC: if set, do not distribute source tree
22# NODOC: if set, do not generate release documentation
23# NODVD: if set, do not generate dvd1.iso
24# TARGET/TARGET_ARCH: architecture of built release
25#
26
27WORLDDIR?= ${.CURDIR}/..

--- 180 unchanged lines hidden (view full) ---

208mini-memstick.img: system
209 sh ${.CURDIR}/${TARGET}/make-memstick.sh bootonly ${.TARGET}
210
211packagesystem: base.txz kernel.txz ${EXTRA_PACKAGES}
212 sh ${.CURDIR}/scripts/make-manifest.sh *.txz > MANIFEST
213 touch ${.TARGET}
214
215pkg-stage:
215.if(exists(${.CURDIR}/${TARGET}/pkg-stage.conf))
216.if !defined(NOPKG) && exists(${.CURDIR}/${TARGET}/pkg-stage.conf)
216 sh ${.CURDIR}/scripts/pkg-stage.sh ${.CURDIR}/${TARGET}/pkg-stage.conf \
217 ${REVISION}
218.endif
219
220cdrom: disc1.iso bootonly.iso
221dvdrom: dvd1.iso
222ftp: packagesystem
223 rm -rf ftp

--- 26 unchanged lines hidden ---
217 sh ${.CURDIR}/scripts/pkg-stage.sh ${.CURDIR}/${TARGET}/pkg-stage.conf \
218 ${REVISION}
219.endif
220
221cdrom: disc1.iso bootonly.iso
222dvdrom: dvd1.iso
223ftp: packagesystem
224 rm -rf ftp

--- 26 unchanged lines hidden ---