Fix make manifests not building every time
Make target `manifests` has a dependency on build.sh which if untouched wouldn't generate the manifests after the first run. This patch fixes it by removing the `build.sh` dependency Signed-off-by: Sunil Thaha <sthaha@redhat.com>
This commit is contained in:
2
Makefile
2
Makefile
@@ -28,7 +28,7 @@ generate: manifests **.md
|
|||||||
**.md: $(EMBEDMD_BIN) $(shell find examples) build.sh example.jsonnet
|
**.md: $(EMBEDMD_BIN) $(shell find examples) build.sh example.jsonnet
|
||||||
$(EMBEDMD_BIN) -w `find . -name "*.md" | grep -v vendor`
|
$(EMBEDMD_BIN) -w `find . -name "*.md" | grep -v vendor`
|
||||||
|
|
||||||
manifests: examples/kustomize.jsonnet $(GOJSONTOYAML_BIN) vendor build.sh
|
manifests: examples/kustomize.jsonnet $(GOJSONTOYAML_BIN) vendor
|
||||||
./build.sh $<
|
./build.sh $<
|
||||||
|
|
||||||
vendor: $(JB_BIN) jsonnetfile.json jsonnetfile.lock.json
|
vendor: $(JB_BIN) jsonnetfile.json jsonnetfile.lock.json
|
||||||
|
|||||||
Reference in New Issue
Block a user