windows-vagrant icon indicating copy to clipboard operation
windows-vagrant copied to clipboard

Add clean target to Makefile

Open oxr463 opened this issue 3 years ago • 3 comments

These invocations of rm -rf $@ for each target in the Makefile should be put in a separate clean target. That way it doesn't remove everything each time the user re-runs make.

This would be especially helpful for all of the large files that are downloaded during the build process.

oxr463 avatar Jun 26 '22 21:06 oxr463

A good example would be this: https://github.com/rgl/windows-vagrant/issues/20

oxr463 avatar Jun 26 '22 22:06 oxr463

Not sure what you mean. What do you think it's being deleted, why and when?

rgl avatar Jun 27 '22 05:06 rgl

One example is this line: https://github.com/rgl/windows-vagrant/blob/master/Makefile#L205

Deleting that directory also deletes the ISO that gets downloaded, which is over 1GB.

oxr463 avatar Jul 02 '22 21:07 oxr463