From 383003220cbc0999f43199ff861a08ae31438e0e Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Sat, 25 Feb 2023 08:45:27 -0700 Subject: [PATCH] Add f.recipe target to fetch recipes --- mk/repo.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) 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)