-
Notifications
You must be signed in to change notification settings - Fork 687
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(apro) build-aux: Avoid needing things in build-aux/bin/ during clean…
… & clobber So, I run `make clobber`. common.mk says: clobber: clean The 'clean' target wants to run ./build-aux/bin/gubernaut -release $$(cat $*.knaut.claim) prelude.mk says: clobber: _clobber-prelude The '_clobber-prelude' target wants to run rm -rf ./build-aux/bin Because there is no ordering between dependencies of 'clobber', it is possible that '_clobber-prelude' deletes bin/gubernaut before 'clean' tries to run bin/gubernaut. Avoid this by using `go run` instead of binaries when doing cleanup rules. This is very awkward and gross because of having to cd to get the correct Go module, and then that makes us use $(abspath) for file arguments.
- Loading branch information
Showing
4 changed files
with
21 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters