blackbox
blackbox copied to clipboard
`make clean` behavior
- Running
make cleanresults in the following project state:
$ git status
On branch master
Changes not staged for commit:
deleted: tools/mk_deb_fpmdir.stack_blackbox.txt
deleted: tools/mk_macports.vcs_blackbox.txt
Should we keep track of those files?
- Also running
make cleantwice results in an error, should we make it idempotent?
Good catch!
I've make "make clean" run clean if you do it twice. See 103106e08fce643b4ec62fccc7b1adf9ee44c517.
However I'm not sure what to do about the fact that "make clean" removes a file that is in the git repo.
Suggestions?
IMHO clean should only delete generated/compiled files. Those files seem to be related to the configuration/packaging. I don't think they are altered in any way during the build/testing/packaging process?