projects-dir.mk: Add targets install and distclean

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2017-06-19 16:15:50 +00:00
commit e9fda3e8e2

View file

@ -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