Subject: Re: Package request - better cleaning
To: Robert Elz <kre@munnari.OZ.AU>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: tech-pkg
Date: 09/24/1998 21:15:27
On Fri, 25 Sep 1998, Robert Elz wrote:
> However, required packages are also not cleaned if a "make clean" is done,
> this one I suspect might be relatively easy to fix.

Actually, that was the standard behaviour until we turned off. :>
(look for NOCLEANDEPENDS). Maybe we should give people a switch to 
turn this back on if they want:

--- bsd.pkg.mk.orig     Thu Sep 24 21:09:34 1998
+++ bsd.pkg.mk  Thu Sep 24 21:10:34 1998
@@ -50,7 +50,9 @@
 DEF_UMASK?=            022
 .elif (${OPSYS} == "NetBSD")
 DEF_UMASK?=            0022
+.if !defined(NONOCLEANDEPENDS)
 NOCLEANDEPENDS=        yes
+.endif # !defined(NONOCLEANDEPENDS)
 .else
 DEF_UMASK?=            0022
 .endif

(No, I do not intend to commit this. If you people desperately want this,
remind me and we will :)


> That is, my standard procedure is
> 	make && make install && make clean
> (and yes, I guess that "make" as well as "make install" is generally
> redundant - but it never does any harm, and occasionally is required, at
> least for some applications, can't say I've ever tried without the bare "make"
> in the NetBSD packages to know if any of them require it).

Actually, I do only a simple "make" quite often to get things build, and
then play with it to see what's it all about, without the need to install
things. 


 - Hubert

-- 
Hubert Feyrer <hubert.feyrer@rz.uni-regensburg.de>