mirror of
https://github.com/containers/podman.git
synced 2025-06-17 06:57:43 +08:00
Makefile: use order-only prereq for podman-remote
podman-remote has a dependency on $(SRCBINDIR), because on Mac and Windows that's a special dir that may not exist. But depending on a directory means depending on its mtime, which changes every time a file in it is updated, which means running 'make' twice in a row will rebuild podman-remote for no good reason. Solution: GNU Make has the concept of "order-only" prerequisites, precisely for this situation. Use it. Since it's an obscure feature, document it. UPDATE: This exposed some nasty duplication wrt podman-remote rules. Clean those up, and add comments to some confusing sections. Fixes: #14756 (Also, drive-by edit to remove a stray misdocumented non-option) Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:

committed by
Matthew Heon

parent
c4616510a2
commit
206f11d4fb
@ -50,10 +50,6 @@ Shows progress on the import
|
||||
|
||||
Set variant of the imported image.
|
||||
|
||||
**--verbose**
|
||||
|
||||
Print additional debugging information
|
||||
|
||||
## EXAMPLES
|
||||
|
||||
```
|
||||
|
Reference in New Issue
Block a user