Date: Tue, 6 Nov 2018 08:37:34 +0100 From: Harry Schmalzbauer <freebsd@omnilan.de> To: freebsd-ports@freebsd.org Subject: Re: Intention of the clean target vs clean-depends Message-ID: <61d03ae6-4e88-291e-d68f-bfa35ec33b01@omnilan.de> In-Reply-To: <1ec31adb-5916-45de-dd9f-ee6be5a97a44@omnilan.de> References: <1ec31adb-5916-45de-dd9f-ee6be5a97a44@omnilan.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 05.11.2018 um 13:03 schrieb Harry Schmalzbauer: > Hello, > > I'm about to overhaul some scripts and continue wondering why 'make > clean' removes ${WRKDIR} of all dependencies, although there's the > clean-depends target. > The comment in bsd.ports.mk makes me think 'clean' shouldn't delete > dependencies: > # clean - Remove ${WRKDIR} and other temporary files > used for building. > # clean-depends - Do a "make clean" for all dependencies. > > Thanks fpr clarification, Hello, I'm really interested why it is how it is. I'd highly appreciate if someone can confirm that the current behaviour of the clean: target is the intended behaviour. If so, the clean-depends: can be retired, can it? I'm ignoring this – to my understanding – oddity for more then a decade, without ever stumbling over any scenario where the behaviour would have been self clarifiying. For now I'm using the clean-wrkdir: target instead of clean:, but since nobody answered yet, I guess my question is unclear or I'm missing somthing ultimate obvious, so the question isn't unclear but stupid?!? Thanks, -harry
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?61d03ae6-4e88-291e-d68f-bfa35ec33b01>