conda.mk defines a clean:: target. This is a 'double-colon' rule.
In any user Makefile that includes conda.mk (which they must include in order to use $(IN_CONDA_ENV)), there cannot be a clean target unless it is also a double-colon target. And in this case, both the user's new clean:: rule as well as make-env's clean:: rule are executed. The latter removes the Conda env.
Is there a way the user can implement their own make clean which does not delete the Conda env?
conda.mkdefines aclean::target. This is a 'double-colon' rule.In any user Makefile that includes
conda.mk(which they must include in order to use$(IN_CONDA_ENV)), there cannot be acleantarget unless it is also a double-colon target. And in this case, both the user's newclean::rule as well asmake-env'sclean::rule are executed. The latter removes the Conda env.Is there a way the user can implement their own
make cleanwhich does not delete the Conda env?