blackbox icon indicating copy to clipboard operation
blackbox copied to clipboard

`make clean` behavior

Open aymericbeaumet opened this issue 8 years ago • 2 comments

  • Running make clean results 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 clean twice results in an error, should we make it idempotent?

aymericbeaumet avatar Sep 17 '17 21:09 aymericbeaumet

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?

tlimoncelli avatar Sep 17 '17 22:09 tlimoncelli

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?

aymericbeaumet avatar Sep 17 '17 22:09 aymericbeaumet