mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-25 22:34:18 +08:00
Add clean target for individual recipes
This commit is contained in:
parent
0cc2a5e4f4
commit
b42080deca
10
mk/repo.mk
10
mk/repo.mk
@ -27,6 +27,16 @@ else
|
||||
touch $@
|
||||
endif
|
||||
|
||||
# Invoke clean.sh for a single target
|
||||
c.%: FORCE
|
||||
ifeq ($(PODMAN_BUILD),1)
|
||||
$(PODMAN_RUN) $(MAKE) $@
|
||||
else
|
||||
export PATH="$(PREFIX_PATH):$$PATH" && \
|
||||
cd cookbook && \
|
||||
./clean.sh $*
|
||||
endif
|
||||
|
||||
# Invoke repo.sh for a single target
|
||||
r.%: FORCE
|
||||
ifeq ($(PODMAN_BUILD),1)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user