make, scripts, tmpl/tex: Merge changes from V_1_2_1_7_NEUHAUS

This commit is contained in:
Jan Lindemann 2012-01-30 14:59:21 +00:00 committed by Jan Lindemann
commit 80095a0f93
11 changed files with 102 additions and 21 deletions

View file

@ -4,6 +4,11 @@
# $Id$
.NOTPARALLEL:
.PHONY: $(SUBDIRS_TO_ITERATE) all install clean distclean test
ifneq ($(FORCE_REBUILD_SUBDIRS),)
.PHONY: dirs-all.done
endif
include $(MODDIR)/make/defs.mk
@ -28,12 +33,15 @@ install: dirs-install.done
clean: dirs.clean
distclean: dirs.clean dirs.distclean
.PHONY: $(SUBDIRS_TO_ITERATE) all install clean distclean test
%/dirs-all.done:
@echo $@ needs to be rebuilt
exit 1
# explicit duplication of pattern-rule is needed, otherwise .PHONY: dirs-all.done won't match
dirs-all.done:
set -e; for d in $(SUBDIRS) ; do make -wC $$d $*; done
touch $@
dirs-%.done:
set -e; for d in $(SUBDIRS) ; do make -wC $$d $*; done
touch $@