1# $FreeBSD: head/release/Makefile 210097 2010-07-15 01:48:30Z nwhitehorn $
2#
3# make release [BUILDNAME=somename] CHROOTDIR=/some/dir CVSROOT=/cvs/dir \
4# [RELEASETAG=tag] [SVNROOT=svn://svn.freebsd.org/base] \
5# [SVNBRANCH=some/branch]
6#
7# Where "/some/dir" is the pathname of a directory on a some filesystem with
8# at least 1000MB of free space, "somename" is what you want the release to
9# call itself, "/cvs/dir" is where our source repo resides and, optionally,
--- 179 unchanged lines hidden (view full) ---
189.if !defined(NODOC)
190DIST_DOCS_ARCH_INDEP= hardware readme relnotes errata
191DIST_DOCS_ARCH_DEP=
192.endif
193
194# Things which without too much trouble can be considered variables
195# BASE_DISTS are special in that they get full /etc installation sets.
196#
197OTHER_DISTS?= catpages manpages games proflibs dict info doc ${ARCH_DISTS}
198BASE_DISTS?= base
199.if ${TARGET_ARCH} == "amd64" || ${TARGET_ARCH} == "powerpc64"
200ARCH_DISTS?= lib32
201.endif
202DISTRIBUTIONS?= ${BASE_DISTS} ${OTHER_DISTS}
203
204#
205# Build and package both GENERIC and SMP kernels if the target
206# has both configuration files. Otherwise only GENERIC is done.
--- 435 unchanged lines hidden (view full) ---
642 mkdir ${RD}/trees
643 for i in ${DISTRIBUTIONS}; do \
644 mkdir ${RD}/trees/$$i && \
645 mtree -deU -f ${MTREEFILES}/BSD.root.dist \
646 -p ${RD}/trees/$$i > /dev/null && \
647 mtree -deU -f ${MTREEFILES}/BSD.usr.dist \
648 -p ${RD}/trees/$$i/usr > /dev/null && \
649 mtree -deU -f ${MTREEFILES}/BSD.include.dist \
650 -p ${RD}/trees/$$i/usr/include > /dev/null && \
651 mtree -deU -f ${MTREEFILES}/BSD.var.dist \
652 -p ${RD}/trees/$$i/var > /dev/null ; \
653 done
654 mkdir ${RD}/kernels
655 for i in ${KERNELS_BASE} ${KERNELS}; do \
656 mkdir -p ${RD}/kernels/$${i}; \
657 done
658 touch ${.TARGET}
659
660# Install the system into the various distributions.
--- 784 unchanged lines hidden ---
2#
3# make release [BUILDNAME=somename] CHROOTDIR=/some/dir CVSROOT=/cvs/dir \
4# [RELEASETAG=tag] [SVNROOT=svn://svn.freebsd.org/base] \
5# [SVNBRANCH=some/branch]
6#
7# Where "/some/dir" is the pathname of a directory on a some filesystem with
8# at least 1000MB of free space, "somename" is what you want the release to
9# call itself, "/cvs/dir" is where our source repo resides and, optionally,
--- 179 unchanged lines hidden (view full) ---
189.if !defined(NODOC)
190DIST_DOCS_ARCH_INDEP= hardware readme relnotes errata
191DIST_DOCS_ARCH_DEP=
192.endif
193
194# Things which without too much trouble can be considered variables
195# BASE_DISTS are special in that they get full /etc installation sets.
196#
197OTHER_DISTS?= catpages manpages games proflibs dict info doc ${ARCH_DISTS}
198BASE_DISTS?= base
199.if ${TARGET_ARCH} == "amd64" || ${TARGET_ARCH} == "powerpc64"
200ARCH_DISTS?= lib32
201.endif
202DISTRIBUTIONS?= ${BASE_DISTS} ${OTHER_DISTS}
203
204#
205# Build and package both GENERIC and SMP kernels if the target
206# has both configuration files. Otherwise only GENERIC is done.
--- 435 unchanged lines hidden (view full) ---
642 mkdir ${RD}/trees
643 for i in ${DISTRIBUTIONS}; do \
644 mkdir ${RD}/trees/$$i && \
645 mtree -deU -f ${MTREEFILES}/BSD.root.dist \
646 -p ${RD}/trees/$$i > /dev/null && \
647 mtree -deU -f ${MTREEFILES}/BSD.usr.dist \
648 -p ${RD}/trees/$$i/usr > /dev/null && \
649 mtree -deU -f ${MTREEFILES}/BSD.include.dist \
650 -p ${RD}/trees/$$i/usr/include > /dev/null && \
651 mtree -deU -f ${MTREEFILES}/BSD.var.dist \
652 -p ${RD}/trees/$$i/var > /dev/null ; \
653 done
654 mkdir ${RD}/kernels
655 for i in ${KERNELS_BASE} ${KERNELS}; do \
656 mkdir -p ${RD}/kernels/$${i}; \
657 done
658 touch ${.TARGET}
659
660# Install the system into the various distributions.
--- 784 unchanged lines hidden ---