Makefile (143887) | Makefile (143938) |
---|---|
1# $FreeBSD: head/release/Makefile 143887 2005-03-20 17:59:17Z bmah $ | 1# $FreeBSD: head/release/Makefile 143938 2005-03-21 19:17:48Z jhb $ |
2# 3# make release [BUILDNAME=somename] CHROOTDIR=/some/dir CVSROOT=/cvs/dir \ 4# [RELEASETAG=tag] 5# 6# Where "/some/dir" is the pathname of a directory on a some filesystem with 7# at least 1000MB of free space, "somename" is what you want the release to 8# call itself, "/cvs/dir" is where our source repo resides and, optionally, 9# which CVS "tag" name should be used when checking out the sources to build --- 284 unchanged lines hidden (view full) --- 294BOOTABLE="-b" 295.endif 296.endif 297 298.if !defined(NODOC) 299DOCREL= doc.1 doc.2 300.endif 301 | 2# 3# make release [BUILDNAME=somename] CHROOTDIR=/some/dir CVSROOT=/cvs/dir \ 4# [RELEASETAG=tag] 5# 6# Where "/some/dir" is the pathname of a directory on a some filesystem with 7# at least 1000MB of free space, "somename" is what you want the release to 8# call itself, "/cvs/dir" is where our source repo resides and, optionally, 9# which CVS "tag" name should be used when checking out the sources to build --- 284 unchanged lines hidden (view full) --- 294BOOTABLE="-b" 295.endif 296.endif 297 298.if !defined(NODOC) 299DOCREL= doc.1 doc.2 300.endif 301 |
302.if !make(release) && !make(rerelease) | 302.if !make(release) && !make(rerelease) && !make(package-split) |
303BINMAKE!= cd ${.CURDIR}/..; ${MAKE} -V BINMAKE 304WMAKEENV!= cd ${.CURDIR}/..; \ 305 ${BINMAKE} ${CROSSENV} -f Makefile.inc1 -V WMAKEENV 306WMAKE= ${WMAKEENV} ${BINMAKE} 307.endif 308 309CVS_SRCARGS= -P 310.if defined(RELEASETAG) --- 898 unchanged lines hidden (view full) --- 1209 @echo "-P" >> ${IMAGEDIR}/boot.config 1210.endif 1211 @rm -f ${IMAGEFILE} 1212 @cp ${KERNFILE} ${MFSROOTFILE} ${IMAGEDIR} 1213 sh -e ${DOFS_SH} ${IMAGEFILE} ${RD} ${MNT} ${FLPSIZE} ${IMAGEDIR} \ 1214 ${BOOTINODE} ${FLPLABEL} 1215 @echo "Created ${RD}/floppies/${FSIMAGE}.flp" 1216 | 303BINMAKE!= cd ${.CURDIR}/..; ${MAKE} -V BINMAKE 304WMAKEENV!= cd ${.CURDIR}/..; \ 305 ${BINMAKE} ${CROSSENV} -f Makefile.inc1 -V WMAKEENV 306WMAKE= ${WMAKEENV} ${BINMAKE} 307.endif 308 309CVS_SRCARGS= -P 310.if defined(RELEASETAG) --- 898 unchanged lines hidden (view full) --- 1209 @echo "-P" >> ${IMAGEDIR}/boot.config 1210.endif 1211 @rm -f ${IMAGEFILE} 1212 @cp ${KERNFILE} ${MFSROOTFILE} ${IMAGEDIR} 1213 sh -e ${DOFS_SH} ${IMAGEFILE} ${RD} ${MNT} ${FLPSIZE} ${IMAGEDIR} \ 1214 ${BOOTINODE} ${FLPLABEL} 1215 @echo "Created ${RD}/floppies/${FSIMAGE}.flp" 1216 |
1217.if make(package-split) 1218# Targets related to making a package split 1219# 1220# PKG_COPY instructs the script to copy the actual package files rather than 1221# make hard links 1222# PKG_TREE is the path to the package tree to be split 1223# PKG_DEST is the path to the destination tree to create the split in 1224# PKG_VERBOSE asks for verbose output of the layout process 1225 1226.if defined(PKG_COPY) 1227PKG_DO_COPY= cp 1228.else 1229PKG_DO_COPY= ln 1230.endif 1231PKG_INDEX= ${PKG_DEST}/INDEX.master 1232PKG_ENV?= 1233.if defined(TARGET_ARCH) 1234PKG_ENV+= PKG_ARCH=${TARGET_ARCH} 1235.endif 1236.if defined(PKG_VERBOSE) 1237PKG_ENV+= PKG_VERBOSE=1 1238.endif 1239 1240package-split: 1241.if !defined(PKG_TREE) 1242 @echo "PKG_TREE must be defined" && exit 1 1243.endif 1244.if !defined(PKG_DEST) 1245 @echo "PKG_DEST must be defined" && exit 1 1246.endif 1247 @env ${PKG_ENV} python ${.CURDIR}/scripts/package-split.py \ 1248 ${PKG_TREE}/INDEX ${PKG_INDEX} 1249 @env ${PKG_ENV} sh ${.CURDIR}/scripts/package-trees.sh ${PKG_DO_COPY} \ 1250 ${PKG_INDEX} ${PKG_TREE} ${PKG_DEST} 1251.endif 1252 |
|
1217.include <bsd.obj.mk> | 1253.include <bsd.obj.mk> |