Date: Sun, 20 Feb 2000 16:06:58 -0500 (EST) From: jack@germanium.xtalwind.net To: FreeBSD-gnats-submit@freebsd.org Subject: misc/16843: Knob for release/Makefile to prevent deleting docproj distfiles Message-ID: <200002202106.QAA05185@germanium.xtalwind.net>
next in thread | raw e-mail | index | archive | help
>Number: 16843 >Category: misc >Synopsis: Knob for release/Makefile to prevent deleting docproj distfiles >Confidential: yes >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Feb 20 13:10:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: >Release: FreeBSD 4.0-CURRENT i386 >Organization: >Environment: FreeBSD 4.0-CURRENT i386 >Description: Add NODISTCLEAN variable to prevent deleting distfiles needed for docproj, which seem to update frequently, from being deleted so they don't have to be fetched again next time. Default action is unchanged. >How-To-Repeat: >Fix: --- Makefile.orig Fri Jan 28 20:15:52 2000 +++ Makefile Sun Feb 20 15:59:13 2000 @@ -47,6 +47,9 @@ DOCPORTS= textproc/docproj # Set this to wherever the distfiles required by ${DOCPORTS} live. DISTFILES?= ${.CURDIR}/../../ports/distfiles +# Uncomment this to prevent deleting distfiles in +# ${CHROOTDIR}/usr/ports/distfiles +#NODISTCLEAN= yes DIST_DOCS= ABOUT.TXT ERRATA.TXT LAYOUT.TXT README.TXT HARDWARE.TXT \ RELNOTES.TXT TROUBLE.TXT UPGRADE.TXT INSTALL.TXT @@ -578,7 +581,9 @@ @ln -f ${CD_DISC1}/kernel ${CD_DISC2}/kernel .endif .if !defined(NOPORTS) +.if !defined(NODISTCLEAN) @-rm -rf /usr/ports/distfiles/* +.endif @mkdir -p ${CD_DISC1}/ports && \ tar --exclude CVS -czf ${CD_DISC1}/ports/ports.tgz -C /usr ports && \ cp ${.CURDIR}/scripts/ports-install.sh ${CD_DISC1}/ports/install.sh \ >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002202106.QAA05185>