From owner-freebsd-bugs Sun Feb 20 13:10: 8 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9CF3437BFFF for ; Sun, 20 Feb 2000 13:10:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA38954; Sun, 20 Feb 2000 13:10:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from germanium.xtalwind.net (germanium.xtalwind.net [205.160.242.5]) by hub.freebsd.org (Postfix) with ESMTP id 8FBC937BEF5 for ; Sun, 20 Feb 2000 13:03:43 -0800 (PST) (envelope-from jack@germanium.xtalwind.net) Received: (from jack@localhost) by germanium.xtalwind.net (8.9.3/8.9.3) id QAA04915; Sun, 20 Feb 2000 16:03:36 -0500 (EST) Message-Id: <200002202103.QAA04915@germanium.xtalwind.net> Date: Sun, 20 Feb 2000 16:03:36 -0500 (EST) From: jack@germanium.xtalwind.net Reply-To: jack@germanium.xtalwind.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/16842: Knob for release/Makefile to prevent deleting docproj distfiles Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 16842 >Category: misc >Synopsis: Knob for release/Makefile to prevent deleting docproj distfiles >Confidential: no >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 3.4-STABLE i386 >Organization: >Environment: >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 Wed Dec 15 19:59:58 1999 +++ Makefile Sun Feb 20 15:57:07 2000 @@ -56,6 +56,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 \ INSTALL.TXT RELNOTES.TXT TROUBLE.TXT UPGRADE.TXT @@ -588,7 +591,9 @@ fi; \ done .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