1# $FreeBSD: head/release/Makefile 219177 2011-03-02 14:39:26Z 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 proflibs dict info
198BASE_DISTS?= base doc games ${ARCH_DISTS}
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 done
652 mkdir ${RD}/kernels
653 for i in ${KERNELS_BASE} ${KERNELS}; do \
654 mkdir -p ${RD}/kernels/$${i}; \
655 done
656 touch ${.TARGET}
657
658# 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 proflibs dict info
198BASE_DISTS?= base doc games ${ARCH_DISTS}
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 done
652 mkdir ${RD}/kernels
653 for i in ${KERNELS_BASE} ${KERNELS}; do \
654 mkdir -p ${RD}/kernels/$${i}; \
655 done
656 touch ${.TARGET}
657
658# Install the system into the various distributions.
--- 784 unchanged lines hidden ---