diff --git a/mk/repo.mk b/mk/repo.mk index 8aafe86..551b8f3 100644 --- a/mk/repo.mk +++ b/mk/repo.mk @@ -37,6 +37,16 @@ else ./clean.sh $* endif +# Invoke fetch.sh for a single target +f.%: FORCE +ifeq ($(PODMAN_BUILD),1) + $(PODMAN_RUN) $(MAKE) $@ +else + export PATH="$(PREFIX_PATH):$$PATH" && \ + cd cookbook && \ + ./fetch.sh $* +endif + # Invoke repo.sh for a single target r.%: FORCE ifeq ($(PODMAN_BUILD),1)