summaryrefslogtreecommitdiff
path: root/libpod/container_api.go
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2022-07-18 07:53:39 -0600
committerMatthew Heon <matthew.heon@pm.me>2022-07-26 14:40:08 -0400
commit206f11d4fbda23c2dbae8c15014f01809b9bdd68 (patch)
treefbbb79fd2191f6b87002a96cb17cb1c16cd46e04 /libpod/container_api.go
parentc4616510a2c7509be20120353e539804b161922d (diff)
downloadpodman-206f11d4fbda23c2dbae8c15014f01809b9bdd68.tar.gz
podman-206f11d4fbda23c2dbae8c15014f01809b9bdd68.tar.bz2
podman-206f11d4fbda23c2dbae8c15014f01809b9bdd68.zip
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>
Diffstat (limited to 'libpod/container_api.go')
0 files changed, 0 insertions, 0 deletions