Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Sep 1996 23:21:01 -0700
From:      "Jordan K. Hubbard" <jkh@time.cdrom.com>
To:        asami@freebsd.org (Satoshi Asami)
Cc:        andreas@freebsd.org, ports@freebsd.org
Subject:   Re: cvs commit: ports/graphics/xv Makefile 
Message-ID:  <3226.843546061@time.cdrom.com>
In-Reply-To: Your message of "Mon, 23 Sep 1996 22:42:55 PDT." <199609240542.WAA17114@silvia.HIP.Berkeley.EDU> 

next in thread | previous in thread | raw e-mail | index | archive | help
>  *   Added pre-clean target.
>  *   When doing 'make clean' then clean tiff and jpeg as well.
> 
> Um, I don't think this is a good idea.  If we start adding pre-clean
> targets for regular dependencies (LIB_DEPENDS and friends), our
> Makefiles will be a mess....
> 
> If this is really needed, we can add it to bsd.port.mk.  But not in
> individual Makefiles.

Yeah, I've commented on this in the past - our clean rule should
follow the same dependencies which would have been traversed in
building the port.  Right now, you can do:

	make all install && make clean

In many ports and wind up with far more bits on your disk than when
you started due to depended ports being built but not cleaned again.
I'd say it's a "bug" for bsd.port.mk to fix and not something the
ports should be doing on their own, definitely.

					Jordan



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