mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
projects-dir.mk: Only clean projects which have .done files lying around
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
eb162a9ba6
commit
0d2e255bff
1 changed files with 1 additions and 1 deletions
|
|
@ -248,7 +248,7 @@ pkg-%: $(filter-out $(UNAVAILABLE_TARGETS),pull.done)
|
|||
# --- generic cleanup targets
|
||||
|
||||
clean-dirs:
|
||||
if [ -n "$(wildcard */*.done)" ]; then ls */*.done 2>/dev/null | sed 's%/.*%%' | xargs -r $(PROJECTS_PY_BUILD) --exclude "" clean; fi
|
||||
echo $(sort $(dir $(wildcard */*.done))) | xargs -r $(PROJECTS_PY_BUILD) clean
|
||||
|
||||
clean-all-dirs:
|
||||
$(PROJECTS_PY_BUILD) clean $(PROJECTS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue