Skip to content

Commit c20c72e

Browse files
authored
Merge pull request #608 from Kern--/fcnet-make-dep
Make fcnet targets depend on source file
2 parents 31033b9 + 0123234 commit c20c72e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,12 +294,12 @@ install-test-cni-bins: test-cni-bins $(CNI_BIN_ROOT)
294294
install -D -o root -g root -m755 -t $(CNI_BIN_ROOT) $(TEST_BRIDGED_TAP_BIN)
295295

296296
FCNET_CONFIG?=/etc/cni/conf.d/fcnet.conflist
297-
$(FCNET_CONFIG):
297+
$(FCNET_CONFIG): tools/demo/fcnet.conflist
298298
mkdir -p $(dir $(FCNET_CONFIG))
299299
install -o root -g root -m644 tools/demo/fcnet.conflist $(FCNET_CONFIG)
300300

301301
FCNET_BRIDGE_CONFIG?=/etc/network/interfaces.d/fc-br0
302-
$(FCNET_BRIDGE_CONFIG):
302+
$(FCNET_BRIDGE_CONFIG): tools/demo/fc-br0.interface
303303
mkdir -p $(dir $(FCNET_BRIDGE_CONFIG))
304304
install -o root -g root -m644 tools/demo/fc-br0.interface $(FCNET_BRIDGE_CONFIG)
305305

0 commit comments

Comments
 (0)