Makefile: mark '$(TEST_MANIFESTS_GEN)' target as .PHONY
Mark '$(TEST_MANIFESTS_GEN)' target as .PHONY. Currently the `test-data` make target does not always trigger regenerating of manifests used for testing various osbuild parts, although it is marked as .PHONY. The reason that its dependency '$(TEST_MANIFESTS_GEN)' is not marked as .PHONY and therefore it is not run if the files already exist in repository. Due to the above reason, CI is actually running `make --always-make test-data` to always regenerate manifests. Signed-off-by: Tomas Hozza <thozza@redhat.com>
This commit is contained in:
parent
262877091f
commit
a860652ae1
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
|
@ -209,6 +209,7 @@ TEST_MANIFESTS_MPP = $(wildcard $(SRCDIR)/test/data/manifests/*.mpp.json) \
|
|||
$(wildcard $(SRCDIR)/test/data/stages/*/*.mpp.json)
|
||||
TEST_MANIFESTS_GEN = $(TEST_MANIFESTS_MPP:%.mpp.json=%.json)
|
||||
|
||||
.PHONY: $(TEST_MANIFESTS_GEN)
|
||||
$(TEST_MANIFESTS_GEN): %.json: %.mpp.json
|
||||
$(SRCDIR)/tools/mpp-depsolve.py <"$<" \
|
||||
| $(SRCDIR)/tools/mpp-import-pipeline.py >"$@" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue