1# $FreeBSD: head/release/Makefile 262505 2014-02-26 00:52:01Z gjb $
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)
--- 6 unchanged lines hidden (view full) ---
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
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# WITH_DVD: if set, generate dvd1.iso
24# TARGET/TARGET_ARCH: architecture of built release
25#
26
27WORLDDIR?= ${.CURDIR}/..
28PORTSDIR?= /usr/ports
29DOCDIR?= /usr/doc
30RELNOTES_LANG?= en_US.ISO8859-1
31
--- 214 unchanged lines hidden (view full) ---
246
247install:
248.if defined(DESTDIR) && !empty(DESTDIR)
249 mkdir -p ${DESTDIR}
250.endif
251 cp -a ftp ${DESTDIR}/
252.for I in ${IMAGES}
253 cp -p ${I} ${DESTDIR}/${OSRELEASE}-${I}
254.endfor
255 cd ${DESTDIR} && sha256 ${OSRELEASE}* > ${DESTDIR}/CHECKSUM.SHA256
256 cd ${DESTDIR} && md5 ${OSRELEASE}* > ${DESTDIR}/CHECKSUM.MD5
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)
--- 6 unchanged lines hidden (view full) ---
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
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# WITH_DVD: if set, generate dvd1.iso
24# TARGET/TARGET_ARCH: architecture of built release
25#
26
27WORLDDIR?= ${.CURDIR}/..
28PORTSDIR?= /usr/ports
29DOCDIR?= /usr/doc
30RELNOTES_LANG?= en_US.ISO8859-1
31
--- 214 unchanged lines hidden (view full) ---
246
247install:
248.if defined(DESTDIR) && !empty(DESTDIR)
249 mkdir -p ${DESTDIR}
250.endif
251 cp -a ftp ${DESTDIR}/
252.for I in ${IMAGES}
253 cp -p ${I} ${DESTDIR}/${OSRELEASE}-${I}
254.endfor
255 cd ${DESTDIR} && sha256 ${OSRELEASE}* > ${DESTDIR}/CHECKSUM.SHA256
256 cd ${DESTDIR} && md5 ${OSRELEASE}* > ${DESTDIR}/CHECKSUM.MD5