diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2023-02-06 14:50:06 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-06 14:50:06 -0500 |
| commit | 675e296641468b7c4782e262705feffe58527606 (patch) | |
| tree | 4dfc559881c1ba07c99c24fe3d409a1c5893d95a /spec/ruby | |
| parent | fa49651e05a06512e18ccb2f54a7198c9ff579de (diff) | |
Add .DELETE_ON_ERROR to Makefile
This instructs make to delete target files if the recipe fails midway, like
when make itself is interrupted. This is mostly for development since it
protects against corrupt builds that need a `make clean` to repair. Release
builds normally don't fail mid-recipe.
GNU make and BSD make support this.
From GNU make's manual:
> This is almost always what you want make to do, but it is not historical
> practice; so for compatibility, you must explicitly request it.
See https://innolitics.com/articles/make-delete-on-error/
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5745
Merged-By: XrXr
Diffstat (limited to 'spec/ruby')
0 files changed, 0 insertions, 0 deletions
