From ed2fdd6340037f8ce70afaea33280a7c531dde5c Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Mon, 10 Apr 2017 19:21:18 +0000 Subject: [PATCH] projects-dir.mk: Add target list-maintainers Signed-off-by: Jan Lindemann --- make/projects-dir.mk | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/make/projects-dir.mk b/make/projects-dir.mk index 1fece65c..f307afd0 100644 --- a/make/projects-dir.mk +++ b/make/projects-dir.mk @@ -44,14 +44,13 @@ BUILD_PY_EXTRA_ARGS += --exclude "$(EXCLUDE_FROM_BUILD)" endif # ------------ commands - MOD_SCRIPT_DIR = ./jw-build/scripts PGIT = CLONE_PROJECTS="$(PROJECTS)" /bin/bash $(firstword $(wildcard $(MOD_SCRIPT_DIR)/pgit.sh /opt/jw-build/bin/pgit.sh) pgit.sh-not-found) BUILD_PY = python $(MOD_SCRIPT_DIR)/build.py -b $(shell pwd) $(BUILD_PY_EXTRA_ARGS) PURGE_SH = /bin/bash $(firstword $(wildcard $(MOD_SCRIPT_DIR)/purge-stale-projects.sh /opt/jw-build/bin/purge-stale-projects.sh) purge-not-found) RELEASE_SH = /bin/bash $(firstword $(wildcard $(MOD_SCRIPT_DIR)/build-release.sh /opt/jw-build/bin/build-release.sh) release-not-found) BROWSER ?= firefox - +GIT_SRV_ADMIN = ssh $(JANWARE_USER)@git.jannet.de /opt/jw-build/bin/git-srv-admin.sh # ------------ targets all: pull.done @@ -157,10 +156,13 @@ git-conv-%: } check-conv: - for p in `ssh $(JANWARE_USER)@git.jannet.de /opt/jw-build/bin/git-srv-admin.sh -u jan -j list-personal-projects`; do \ + for p in `$(GIT_SRV_ADMIN) -u jan -j list-personal-projects`; do \ make git-conv-$$p ;\ done +list-maintainers: + $(GIT_SRV_ADMIN) $@ + projects.txt: echo $(PROJECTS) | sed 's/ /\n/g; s%/%%g' > $@