Makefile (42142) | Makefile (42261) |
---|---|
1# $Id: Makefile,v 1.439 1998/12/24 08:55:05 jkh Exp $ | 1# $Id: Makefile,v 1.440 1998/12/29 07:27:55 jkh Exp $ |
2# 3# make release CHROOTDIR=/some/dir BUILDNAME=somename [ RELEASETAG=tag ] 4# 5# Where "/some/dir" is the pathname of a directory on a some 6# filesystem with at least 1000MB of free space, "somename" is what 7# you want the release to call itself and, optionally, which CVS "tag" 8# name should be used when checking out the sources to build the release 9# (default is HEAD). --- 280 unchanged lines hidden (view full) --- 290 cd ${.CURDIR}/.. && make distribute DISTDIR=${RD}/trees 291.if exists(${.CURDIR}/../kerberosIV) && !defined(NOKERBEROS) 292 cd ${.CURDIR}/../kerberosIV && ( \ 293 make bootstrap &&\ 294 make obj all help-distribute DISTDIR=${RD}/trees &&\ 295 make kprog \ 296 ) 297.endif | 2# 3# make release CHROOTDIR=/some/dir BUILDNAME=somename [ RELEASETAG=tag ] 4# 5# Where "/some/dir" is the pathname of a directory on a some 6# filesystem with at least 1000MB of free space, "somename" is what 7# you want the release to call itself and, optionally, which CVS "tag" 8# name should be used when checking out the sources to build the release 9# (default is HEAD). --- 280 unchanged lines hidden (view full) --- 290 cd ${.CURDIR}/.. && make distribute DISTDIR=${RD}/trees 291.if exists(${.CURDIR}/../kerberosIV) && !defined(NOKERBEROS) 292 cd ${.CURDIR}/../kerberosIV && ( \ 293 make bootstrap &&\ 294 make obj all help-distribute DISTDIR=${RD}/trees &&\ 295 make kprog \ 296 ) 297.endif |
298 # XXX until lkm and mdec gets populated again by some other means | 298 # XXX until lkm and gets populated again by some other means |
299.if ${MACHINE_ARCH} == "i386" 300 cd ${.CURDIR}/.. && OBJFORMAT=aout MAKEOBJDIRPREFIX=/usr/obj/aout \ 301 NOTOOLS=1 NOSECURE=1 NOCRYPT=1 \ 302 make -f Makefile.inc1 legacy-install DESTDIR=${RD}/trees/bin 303.endif 304 chflags -R noschg ${RD}/trees 305 touch release.2 306 --- 179 unchanged lines hidden (view full) --- 486# 487# --==## Create a fixit floppy ##==-- 488# 489release.9: 490 rm -rf ${RD}/fixitfd 491 mkdir ${RD}/fixitfd 492 cd ${RD}/fixitfd && \ 493 mkdir -p dev stand bin sbin etc mnt mnt1 mnt2 mnt3 mnt4 tmp \ | 299.if ${MACHINE_ARCH} == "i386" 300 cd ${.CURDIR}/.. && OBJFORMAT=aout MAKEOBJDIRPREFIX=/usr/obj/aout \ 301 NOTOOLS=1 NOSECURE=1 NOCRYPT=1 \ 302 make -f Makefile.inc1 legacy-install DESTDIR=${RD}/trees/bin 303.endif 304 chflags -R noschg ${RD}/trees 305 touch release.2 306 --- 179 unchanged lines hidden (view full) --- 486# 487# --==## Create a fixit floppy ##==-- 488# 489release.9: 490 rm -rf ${RD}/fixitfd 491 mkdir ${RD}/fixitfd 492 cd ${RD}/fixitfd && \ 493 mkdir -p dev stand bin sbin etc mnt mnt1 mnt2 mnt3 mnt4 tmp \ |
494 usr/share/misc usr/mdec | 494 usr/share/misc |
495 @cd ${.CURDIR} && $(MAKE) installCRUNCH CRUNCH=fixit \ 496 DIR=${RD}/fixitfd/stand ZIP=false 497 ( cd ${RD}/fixitfd/dev && \ 498 sed -e '/^PATH/s/^/#/' ${RD}/trees/bin/dev/MAKEDEV > MAKEDEV && \ 499 chmod 755 MAKEDEV && \ 500 sh MAKEDEV all ) 501 cp ${RD}/trees/bin/etc/spwd.db ${RD}/trees/bin/etc/group \ 502 ${RD}/trees/bin/etc/protocols ${RD}/fixitfd/etc 503 cp ${RD}/trees/bin/usr/share/misc/scsi_modes \ 504 ${RD}/fixitfd/usr/share/misc | 495 @cd ${.CURDIR} && $(MAKE) installCRUNCH CRUNCH=fixit \ 496 DIR=${RD}/fixitfd/stand ZIP=false 497 ( cd ${RD}/fixitfd/dev && \ 498 sed -e '/^PATH/s/^/#/' ${RD}/trees/bin/dev/MAKEDEV > MAKEDEV && \ 499 chmod 755 MAKEDEV && \ 500 sh MAKEDEV all ) 501 cp ${RD}/trees/bin/etc/spwd.db ${RD}/trees/bin/etc/group \ 502 ${RD}/trees/bin/etc/protocols ${RD}/fixitfd/etc 503 cp ${RD}/trees/bin/usr/share/misc/scsi_modes \ 504 ${RD}/fixitfd/usr/share/misc |
505 cp ${RD}/trees/bin/usr/mdec/boot[12] ${RD}/fixitfd/usr/mdec 506 for type in fd od sd wd ; do \ 507 ( cd ${RD}/fixitfd/usr/mdec && ln -s boot1 $${type}boot && \ 508 ln -s boot2 boot$${type} ) ; \ 509 done | |
510 cp ${.CURDIR}/fixit.profile ${RD}/fixitfd/.profile 511 cp ${.CURDIR}/fixit.services ${RD}/fixitfd/etc/services 512 cp ${.CURDIR}/scripts/tar.sh ${RD}/fixitfd/stand/tar 513 chmod 555 ${RD}/fixitfd/stand/tar 514 sh -e ${.CURDIR}/scripts/doFS.sh ${RD} ${MNT} ${FIXITSIZE} \ 515 ${RD}/fixitfd ${FIXITINODE} ${FIXITLABEL} 516 mv fs-image ${RD}/floppies/fixit.flp 517# Do our last minute floppies directory setup in a convenient place. --- 17 unchanged lines hidden (view full) --- 535# 536# --==## Setup a suitable cdrom-area ##==-- 537# 538cdrom.1: 539 mkdir -p ${CD_DISC1} ${CD_DISC2} 540 cd ${RD} && find floppies -print | cpio -dumpl ${CD_DISC1} 541 cd ${RD}/dists && find . -print | cpio -dumpl ${CD_DISC1} 542 ln -f ${RD}/kernels/MFSKERNEL.std ${CD_DISC1}/kernel | 505 cp ${.CURDIR}/fixit.profile ${RD}/fixitfd/.profile 506 cp ${.CURDIR}/fixit.services ${RD}/fixitfd/etc/services 507 cp ${.CURDIR}/scripts/tar.sh ${RD}/fixitfd/stand/tar 508 chmod 555 ${RD}/fixitfd/stand/tar 509 sh -e ${.CURDIR}/scripts/doFS.sh ${RD} ${MNT} ${FIXITSIZE} \ 510 ${RD}/fixitfd ${FIXITINODE} ${FIXITLABEL} 511 mv fs-image ${RD}/floppies/fixit.flp 512# Do our last minute floppies directory setup in a convenient place. --- 17 unchanged lines hidden (view full) --- 530# 531# --==## Setup a suitable cdrom-area ##==-- 532# 533cdrom.1: 534 mkdir -p ${CD_DISC1} ${CD_DISC2} 535 cd ${RD} && find floppies -print | cpio -dumpl ${CD_DISC1} 536 cd ${RD}/dists && find . -print | cpio -dumpl ${CD_DISC1} 537 ln -f ${RD}/kernels/MFSKERNEL.std ${CD_DISC1}/kernel |
543.if ${MACHINE_ARCH} != "alpha" 544 ln -f ${RD}/trees/bin/usr/mdec/fbsdboot.exe ${CD_DISC1} 545.endif | |
546 for i in ${DISTRIBUTIONS} ; \ 547 do \ 548 if [ -d ${RD}/trees/$${i} ] ; then \ 549 chflags -R noschg ${RD}/trees/$${i} ; \ 550 ( cd ${RD}/trees/$${i} && \ 551 find . -depth -print | cpio -dumpl ${CD_DISC2} ) ; \ 552 fi \ 553 done --- 184 unchanged lines hidden --- | 538 for i in ${DISTRIBUTIONS} ; \ 539 do \ 540 if [ -d ${RD}/trees/$${i} ] ; then \ 541 chflags -R noschg ${RD}/trees/$${i} ; \ 542 ( cd ${RD}/trees/$${i} && \ 543 find . -depth -print | cpio -dumpl ${CD_DISC2} ) ; \ 544 fi \ 545 done --- 184 unchanged lines hidden --- |