mirror of
https://github.com/containers/podman.git
synced 2025-10-17 19:24:04 +08:00
Makefile: add Makefile to sources
During my binary size reduce experiments I often switch build tags around but make binaries does not recompile in these cases. It is annoying to always do touch cmd/podman/main.go so let's add it to the SOURCES instead so the Makefile will recompile on changes. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
2
Makefile
2
Makefile
@ -92,7 +92,7 @@ endif
|
||||
# and except anything in a dot subdirectory. If any of these files is
|
||||
# newer than our target (bin/podman{,-remote}), a rebuild is
|
||||
# triggered.
|
||||
SOURCES = $(shell find . -path './.*' -prune -o \( \( -name '*.go' -o -name '*.c' \) -a ! -name '*_test.go' \) -print)
|
||||
SOURCES = $(shell find . -path './.*' -prune -o \( \( -name '*.go' -o -name '*.c' \) -a ! -name '*_test.go' \) -print) Makefile
|
||||
|
||||
BUILDTAGS_CROSS ?= containers_image_openpgp exclude_graphdriver_btrfs exclude_graphdriver_overlay
|
||||
CONTAINER_RUNTIME := $(shell command -v podman 2> /dev/null || echo docker)
|
||||
|
Reference in New Issue
Block a user