projects-dir.mk: Add target release

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2016-11-16 06:03:31 +00:00
commit e65638b94b

View file

@ -45,9 +45,10 @@ ifeq ($(CVS_RSH),)
export CVS_RSH
endif
PGIT = CLONE_PROJECTS="$(PROJECTS)" PGIT_CLONE_FROM_USER="$(JANWARE_USER)" /bin/bash $(firstword $(wildcard ./ytools/devutil/scripts/pgit.sh /opt/ytools/bin/pgit.sh) pgit.sh-not-found)
BUILD_PY = python ./ytools/devutil/scripts/build.py -b $(shell pwd) $(BUILD_PY_EXTRA_ARGS)
PURGE_SH = /bin/bash $(firstword $(wildcard ./ytools/devutil/scripts/purge-stale-projects.sh /opt/ytools/bin/purge-stale-projects.sh) purge-not-found)
PGIT = CLONE_PROJECTS="$(PROJECTS)" PGIT_CLONE_FROM_USER="$(JANWARE_USER)" /bin/bash $(firstword $(wildcard ./ytools/devutil/scripts/pgit.sh /opt/ytools/bin/pgit.sh) pgit.sh-not-found)
BUILD_PY = python ./ytools/devutil/scripts/build.py -b $(shell pwd) $(BUILD_PY_EXTRA_ARGS)
PURGE_SH = /bin/bash $(firstword $(wildcard ./ytools/devutil/scripts/purge-stale-projects.sh /opt/ytools/bin/purge-stale-projects.sh) purge-not-found)
RELEASE_SH = /bin/bash $(firstword $(wildcard ./ytools/devutil/scripts/build-release.sh /opt/ytools/bin/build-release.sh) release-not-found)
EXCLUDE_FROM_BUILD = \
dspider-btools \
@ -92,6 +93,9 @@ pull-all: purge cvs-update git-clone git-pull-all
rebuild: clean pull subdirs-all
release:
$(RELEASE_SH)
subdirs-%:
FORCE_REBUILD_SUBDIRS=true make $*