mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
dirs.mk: Add support for dirs-started-xxx.done
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
f3617ee7ee
commit
a8c9ce9014
1 changed files with 3 additions and 1 deletions
|
|
@ -58,12 +58,14 @@ endif
|
|||
|
||||
# explicit duplication of pattern-rule is needed, otherwise .PHONY: dirs-all.done won't match
|
||||
dirs-all.done:
|
||||
touch dirs-started-all.done
|
||||
set -e; for d in $(SUBDIRS) ; do make -wC $$d $*; done
|
||||
ifneq ($(DONT_CHECK_PREREQ_DONE),true)
|
||||
touch $@
|
||||
endif
|
||||
|
||||
dirs-%.done:
|
||||
touch dirs-started-$*.done
|
||||
set -e; for d in $(SUBDIRS) ; do make -wC $$d $*; done
|
||||
ifneq ($(DONT_CHECK_PREREQ_DONE),true)
|
||||
touch $@
|
||||
|
|
@ -85,7 +87,7 @@ endif
|
|||
|
||||
dirs.clean:
|
||||
set -e; for d in $(SUBDIRS) ; do make -wC $$d clean; done
|
||||
rm -rf $(TEXTCLEAN) $(CLEAN) *.done *~ .*.swp *.tmp core *.rep
|
||||
rm -rf $(TEXTCLEAN) $(CLEAN) *.done *~ .*.swp *.tmp core *.rep dirs-started-*.done
|
||||
|
||||
dirs.distclean:
|
||||
set -e; for d in $(SUBDIRS) ; do make -wC $$d distclean; done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue