Makefile (e4cd478e9f1adab81e349179ac7e89b2f438423a) Makefile (ac23f4607a462e71d7fc7476fe3a13411a052d80)
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)

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

57.if !empty(TARGET:M${_V})
58OSRELEASE= ${TYPE}-${REVISION}-${BRANCH}-${TARGET}
59.else
60OSRELEASE= ${TYPE}-${REVISION}-${BRANCH}-${TARGET}-${TARGET_ARCH}
61.endif
62.endfor
63.endif
64
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)

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

57.if !empty(TARGET:M${_V})
58OSRELEASE= ${TYPE}-${REVISION}-${BRANCH}-${TARGET}
59.else
60OSRELEASE= ${TYPE}-${REVISION}-${BRANCH}-${TARGET}-${TARGET_ARCH}
61.endif
62.endfor
63.endif
64
65VOLUME_LABEL= ${OSRELEASE:C/[-\.]/_/g:S/^$${TYPE}_//}
66
65.if !exists(${DOCDIR})
66NODOC= true
67.endif
68.if !exists(${PORTSDIR})
69NOPORTS= true
70.endif
71
72EXTRA_PACKAGES=

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

242 echo sendmail_enable=\"NONE\" > ${.TARGET}/etc/rc.conf
243 echo hostid_enable=\"NO\" >> ${.TARGET}/etc/rc.conf
244 echo debug.witness.trace=0 >> ${.TARGET}/etc/sysctl.conf
245 cp ${.CURDIR}/rc.local ${.TARGET}/etc
246 touch ${.TARGET}
247
248release.iso: disc1.iso
249disc1.iso: system
67.if !exists(${DOCDIR})
68NODOC= true
69.endif
70.if !exists(${PORTSDIR})
71NOPORTS= true
72.endif
73
74EXTRA_PACKAGES=

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

244 echo sendmail_enable=\"NONE\" > ${.TARGET}/etc/rc.conf
245 echo hostid_enable=\"NO\" >> ${.TARGET}/etc/rc.conf
246 echo debug.witness.trace=0 >> ${.TARGET}/etc/sysctl.conf
247 cp ${.CURDIR}/rc.local ${.TARGET}/etc
248 touch ${.TARGET}
249
250release.iso: disc1.iso
251disc1.iso: system
250 sh ${.CURDIR}/${TARGET}/mkisoimages.sh -b FreeBSD_Install ${.TARGET} release
252 sh ${.CURDIR}/${TARGET}/mkisoimages.sh -b ${VOLUME_LABEL}_CD ${.TARGET} release
251
252dvd1.iso: dvd pkg-stage
253
254dvd1.iso: dvd pkg-stage
253 sh ${.CURDIR}/${TARGET}/mkisoimages.sh -b FreeBSD_Install ${.TARGET} dvd
255 sh ${.CURDIR}/${TARGET}/mkisoimages.sh -b ${VOLUME_LABEL}_DVD ${.TARGET} dvd
254
255bootonly.iso: bootonly
256
257bootonly.iso: bootonly
256 sh ${.CURDIR}/${TARGET}/mkisoimages.sh -b FreeBSD_Install ${.TARGET} bootonly
258 sh ${.CURDIR}/${TARGET}/mkisoimages.sh -b ${VOLUME_LABEL}_BO ${.TARGET} bootonly
257
258memstick: memstick.img
259memstick.img: system
260 sh ${.CURDIR}/${TARGET}/make-memstick.sh release ${.TARGET}
261
262mini-memstick: mini-memstick.img
263mini-memstick.img: system
264 sh ${.CURDIR}/${TARGET}/make-memstick.sh bootonly ${.TARGET}

--- 91 unchanged lines hidden ---
259
260memstick: memstick.img
261memstick.img: system
262 sh ${.CURDIR}/${TARGET}/make-memstick.sh release ${.TARGET}
263
264mini-memstick: mini-memstick.img
265mini-memstick.img: system
266 sh ${.CURDIR}/${TARGET}/make-memstick.sh bootonly ${.TARGET}

--- 91 unchanged lines hidden ---