mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
dirs.mk: Attempt to clear up SUBDIRS_TO_ITERATE / SUBDIRS confusion
SUBDIRS_TO_ITERATE and SUBDIRS are not used consistently. This commit aims at making that clearer without breaking anything Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
6fe23eb8c8
commit
7c6e888932
1 changed files with 4 additions and 4 deletions
|
|
@ -66,7 +66,7 @@ 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
|
||||
set -e; for d in $(SUBDIRS_TO_ITERATE) ; do make -wC $$d $*; done
|
||||
ifneq ($(DONT_CHECK_PREREQ_DONE),true)
|
||||
touch $@
|
||||
endif
|
||||
|
|
@ -77,7 +77,7 @@ endif
|
|||
|
||||
dirs-%.done:
|
||||
touch dirs-started-$*.done
|
||||
set -e; for d in $(SUBDIRS) ; do make -wC $$d $*; done
|
||||
set -e; for d in $(SUBDIRS_TO_ITERATE) ; do make -wC $$d $*; done
|
||||
ifneq ($(DONT_CHECK_PREREQ_DONE),true)
|
||||
touch $@
|
||||
endif
|
||||
|
|
@ -95,11 +95,11 @@ dirs-install.done: dirs-all.done
|
|||
endif
|
||||
|
||||
dirs.clean:
|
||||
set -e; for d in $(call reverse,$(SUBDIRS)) ; do make -wC $$d clean; done
|
||||
set -e; for d in $(call reverse,$(SUBDIRS_TO_ITERATE)) ; do make -wC $$d clean; done
|
||||
$(RM) -rf $(TEXTCLEAN) $(CLEAN) *.done *~ .*.swp *.tmp core *.rep dirs-*.done
|
||||
|
||||
dirs.distclean:
|
||||
set -e; for d in $(call reverse,$(SUBDIRS)) ; do make -wC $$d distclean; done
|
||||
set -e; for d in $(call reverse,$(SUBDIRS_TO_ITERATE)) ; do make -wC $$d distclean; done
|
||||
$(RM) -rf $(DISTCLEAN)
|
||||
|
||||
endif # SUBDIRS_TO_ITERATE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue