Skip to content

Document how to implement a user-level 'make clean' #30

Description

@tcal-x

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions