From e9fda3e8e25076cbd2448d2775a02d384de158e4 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Mon, 19 Jun 2017 16:15:50 +0000 Subject: [PATCH] projects-dir.mk: Add targets install and distclean Signed-off-by: Jan Lindemann --- make/projects-dir.mk | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/make/projects-dir.mk b/make/projects-dir.mk index 95d4d1df..fcac78b3 100644 --- a/make/projects-dir.mk +++ b/make/projects-dir.mk @@ -94,15 +94,24 @@ all: pull.done all: pull.done $(BUILD_PY) $@ $(BUILD_PROJECTS) +clean: clean-dirs done.clean +distclean: clean-all-dirs done.clean +install: + @echo + @echo " Target install is not supported by this Makefile." + @echo " make pkg-rebuild-reinstall might be what you are looking for." + @echo + @exit 1 build-order: pull.done $(BUILD_PY) order $(BUILD_PROJECTS) | sed 's/ */\n/g' -clean: clean-dirs done.clean - clean-dirs: ls */dirs-started-all.done 2>/dev/null | sed 's%/.*%%' | xargs -r $(BUILD_PY) clean +clean-all-dirs: + $(BUILD_PY) clean $(PROJECTS) + echo-prereq-build: @$(PROJECTS_PY) required-pkg --flavours "build" $(BUILD_PROJECTS) @@ -257,8 +266,7 @@ cvsdir.done: ssh-wrapper.sh touch $@ cvs-update.done: cvsdir.done ssh-wrapper.sh - cvs update -dP Makefile jw-build - cvs update -dP $(shell $(CVS_ADMIN_SH) list-projects) + cvs update -dP Makefile $(shell $(CVS_ADMIN_SH) list-projects) touch $@ update.done: purge