Intention of the clean target vs clean-depends

Harry Schmalzbauer freebsd at omnilan.de
Mon Nov 5 12:03:26 UTC 2018


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,

-harry



More information about the freebsd-ports mailing list