Skip to content

Commit

Permalink
daemon: Make build depend on Makefiles and Dockerfile
Browse files Browse the repository at this point in the history
Re-build may be needed due to changes in Makefiles or the Dockerfile.

Signed-off-by: Jarno Rajahalme <jarno@covalent.io>
  • Loading branch information
jrajahalme authored and aanm committed Mar 2, 2020
1 parent 39729f3 commit 37f4cc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ include ../Makefile.defs
TARGET=cilium-agent
LINKS=cilium-node-monitor
SOURCES := $(shell find ../api ../common ../daemon ../pkg . \( -name '*.go' ! -name '*_test.go' \))
$(TARGET): $(SOURCES)
$(TARGET): $(SOURCES) ../Dockerfile ../Makefile ../Makefile.defs Makefile
@$(ECHO_GO)
$(QUIET) CGO_ENABLED=0 $(GO) build $(GOBUILD) -o $(TARGET)

Expand Down

0 comments on commit 37f4cc8

Please sign in to comment.