From 3d9c8a5dae08a67ec5a13f937c7215415ca84dd9 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sun, 13 Sep 1998 17:20:57 +0000 Subject: Use -R argument to cvs, this lets us work with a read-only repository, at least to the extent that cvs bugs allow us to. --- release/Makefile | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/release/Makefile b/release/Makefile index 71d4d8586b51..d347639b2cc1 100644 --- a/release/Makefile +++ b/release/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.380 1998/09/09 14:20:22 jkh Exp $ +# $Id: Makefile,v 1.381 1998/09/12 20:04:44 jhay Exp $ # # make release CHROOTDIR=/some/dir BUILDNAME=somename [ RELEASETAG=tag ] # @@ -37,7 +37,8 @@ OBJFORMAT?= elf # Uncomment this to disable the doc.1 target. It is also an ERROR # to set NOPORTS and not set NODOC since docs depend on ports. -#NODOC= YES +NODOC= YES +NOPORTS= YES # Comment the following if you want the release documentation to be # in English only. ALLLANG= yes @@ -147,10 +148,10 @@ rerelease release: done .if !defined(RELEASETAG) cd ${CHROOTDIR}/usr && rm -rf src && \ - cvs -d ${CVSROOT} co -P ${RELEASESRCMODULE} + cvs -R -d ${CVSROOT} co -P ${RELEASESRCMODULE} .else cd ${CHROOTDIR}/usr && rm -rf src && \ - cvs -d ${CVSROOT} co -P -r ${RELEASETAG} ${RELEASESRCMODULE} + cvs -R -d ${CVSROOT} co -P -r ${RELEASETAG} ${RELEASESRCMODULE} .endif .if defined(LOCAL_PATCHES) && exists(${LOCAL_PATCHES}) cd ${CHROOTDIR}/usr/src && patch --silent < ${LOCAL_PATCHES} @@ -159,10 +160,10 @@ rerelease release: cd ${CHROOTDIR} && env CHROOTDIR=${CHROOTDIR} BUILDNAME=${BUILDNAME} RELEASETAG=${RELEASETAG} ${LOCAL_SCRIPT} .endif .if !defined(NOPORTS) - cd ${CHROOTDIR}/usr && rm -rf ports && cvs -d ${CVSROOT} co -P ${RELEASEPORTSMODULE} && cd ports && make readmes PORTSDIR=${CHROOTDIR}/usr/ports + cd ${CHROOTDIR}/usr && rm -rf ports && cvs -R -d ${CVSROOT} co -P ${RELEASEPORTSMODULE} && cd ports && make readmes PORTSDIR=${CHROOTDIR}/usr/ports .endif .if !defined(NODOC) - cd ${CHROOTDIR}/usr && rm -rf doc && cvs -d ${CVSROOT} co -P ${RELEASEDOCMODULE} + cd ${CHROOTDIR}/usr && rm -rf doc && cvs -R -d ${CVSROOT} co -P ${RELEASEDOCMODULE} cd ${CHROOTDIR}/usr/ports && for i in ${DOCPORTS}; do \ (cd $$i; make fetch MASTER_SITE_OVERRIDE=file:/usr/ports/distfiles/ \ DISTDIR=${CHROOTDIR}/usr/ports/distfiles ); \ @@ -172,15 +173,15 @@ rerelease release: .if make(rerelease) .if !defined(RELEASENOUPDATE) .if !defined(RELEASETAG) - cd ${CHROOTDIR}/usr/src && cvs -q update -P -d + cd ${CHROOTDIR}/usr/src && cvs -R -q update -P -d .else - cd ${CHROOTDIR}/usr/src && cvs -q update -P -d -r ${RELEASETAG} + cd ${CHROOTDIR}/usr/src && cvs -R -q update -P -d -r ${RELEASETAG} .endif .if !defined(NOPORTS) - cd ${CHROOTDIR}/usr/ports && cvs -q update -P -d + cd ${CHROOTDIR}/usr/ports && cvs -R -q update -P -d .endif .if !defined(NODOC) - cd ${CHROOTDIR}/usr/doc && cvs -q update -P -d + cd ${CHROOTDIR}/usr/doc && cvs -R -q update -P -d .endif .endif .endif -- cgit v1.3