Skip to content

Commit

Permalink
Ensure non-existing %.cache target fail with a fatal error
Browse files Browse the repository at this point in the history
  • Loading branch information
kit-ty-kate committed Jul 3, 2024
1 parent 96f99ce commit 37b2e3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions master_changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ users)
* Add the missing mccs and dune archives to the opam-full-<version>.tar.gz archive [#6067 @kit-ty-kate]
* Ensure the configure file stays as it is in the tag, in the opam-full-<version>.tar.gz archive [#6067 @kit-ty-kate]
* Exclude the .git directory from the release archive when using GNU tar [#6067 @kit-ty-kate]
* Ensure non-existing %.cache target fail with a fatal error [#6067 @kit-ty-kate]

## Install script

Expand Down
2 changes: 1 addition & 1 deletion src_ext/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ GET_ARCHIVE=\

%.cache:
@mkdir -p archives
@test -e archives/$(notdir $(URL_$*)) || \
@test -f archives/$(notdir $(URL_$*)) || \
{ $(call GET_ARCHIVE,$*) && mv $(call ARCHIVE_FILE,$*) archives/$(notdir $(URL_$*)); }

.PRECIOUS: %.download
Expand Down

0 comments on commit 37b2e3f

Please sign in to comment.