Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Feb 2000 16:03:36 -0500 (EST)
From:      jack@germanium.xtalwind.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   misc/16842: Knob for release/Makefile to prevent deleting docproj distfiles
Message-ID:  <200002202103.QAA04915@germanium.xtalwind.net>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002202103.QAA04915>