Several improvements:

- Simpler wording of comments
- Fix doc-module target in case local.mk is included
- Clean target now uses dirs-started-xxx.done to decide which modules to clean

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2017-05-09 10:18:49 +00:00
commit f3617ee7ee

View file

@ -5,9 +5,9 @@
# You will need a janware.com user account for pretty much anything this
# Makefile does. Ask admin@janware.com if you want one.
#
# Please see https://janware.com/wiki/pub/en/sw/build/ for current
# documentation on how this Makefile is meant to be used. Running
# "make doc-module" might take you there semi-automatically.
# Current documentation on how this Makefile is meant to be used can be found
# under https://janware.com/wiki/pub/en/sw/build/. Running "make doc-module"
# might take you there semi-automatically.
#
# ------------ Makefile and environment variables
@ -94,7 +94,7 @@ build-order: pull.done
clean: clean-dirs done.clean
clean-dirs:
ls */dirs-all.done 2>/dev/null | sed 's%/.*%%' | xargs -r $(BUILD_PY) clean
ls */dirs-started-all.done 2>/dev/null | sed 's%/.*%%' | xargs -r $(BUILD_PY) clean
echo-prereq-build:
@$(PROJECTS_PY) required-pkg $(BUILD_PROJECTS)
@ -113,7 +113,7 @@ init-project-%:
$(CREATE_PROJECT_SH) $*
doc-project doc-module:
$(BROWSER) $(firstword $(shell sed '/https:/ !d; s%.*https%https%; s/ .*//' $(lastword $(MAKEFILE_LIST))))
$(BROWSER) $(firstword $(shell sed '/https:/ !d; s%.*https%https%; s/ .*//' $(firstword $(MAKEFILE_LIST))))
pkg-%: pull.done
$(BUILD_PY) $@ $(BUILD_PROJECTS)