Move ports distribution copying for ftp dist into the correct place.

This commit is contained in:
Jordan K. Hubbard 1997-07-09 12:45:17 +00:00
parent 9e3d5ec0b6
commit 0206d3bdb0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=27291

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.311 1997/06/29 18:07:01 jkh Exp $
# $Id: Makefile,v 1.312 1997/07/02 08:58:58 jkh Exp $
#
# make release CHROOTDIR=/some/dir BUILDNAME=somename [ RELEASETAG=tag ]
#
@ -480,6 +480,9 @@ ftp.1:
cp ${.CURDIR}/sysinstall/help/install.hlp ${FD}/INSTALL.TXT
cp ${.CURDIR}/sysinstall/help/relnotes.hlp ${FD}/RELNOTES.TXT
echo "CD_VERSION = ${BUILDNAME}" > ${FD}/cdrom.inf
.if !defined(NOPORTS)
tar -cBf - -C ${CD_DISC1} ports | tar -xBf - -C ${FD}
.endif
#
# --==## Setup a suitable cdrom-area ##==--
@ -521,9 +524,7 @@ ports.1:
tar -cBf - -C /usr ports | tar xBpf - -C ${CD_DISC2} && \
mkdir -p ${CD_DISC1}/ports && tar -czf ${CD_DISC1}/ports/ports.tgz -C /usr ports && \
cp ${.CURDIR}/scripts/ports-install.sh ${CD_DISC1}/ports/install.sh && \
(cd ${CD_DISC1}/ports; md5 * > CHECKSUM.MD5) &&
tar -cBf - -C ${CD_DISC1} ports | tar -xBf - -C ${FD}
(cd ${CD_DISC1}/ports; md5 * > CHECKSUM.MD5)
doc.1:
cd /usr/doc && make all distribute DISTDIR=${RD}/trees