mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
git-submod.mk: Add support for USE_USER_URL
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
3dd55cf067
commit
ab872fe334
1 changed files with 7 additions and 3 deletions
|
|
@ -4,9 +4,13 @@
|
|||
# - include <path-to-this-makefile>
|
||||
# - run git-init-submod-remote
|
||||
|
||||
GIT_SRV_ADMIN_SH = ssh $(JANWARE_USER)@git.janware.com /opt/jw-build/bin/git-srv-admin.sh
|
||||
GIT_REPO_URL = ssh://$(JANWARE_USER)@git.janware.com/srv/git/$(JANWARE_USER)/contrib/$(PROJECT_DIRNAME)
|
||||
SUBMOD_PATH = $(patsubst $(abspath $(TOPDIR))/%,%,$(abspath $(shell $(PWD))/$(SUBMOD_SRC_DIR)))
|
||||
ifeq ($(USE_USER_URL),)
|
||||
JANWARE_USER_PREFIX = $(JANWARE_USER)@
|
||||
endif
|
||||
|
||||
GIT_SRV_ADMIN_SH = ssh $(JANWARE_USER_PREFIX)git.janware.com /opt/jw-build/bin/git-srv-admin.sh
|
||||
GIT_REPO_URL = ssh://$(JANWARE_USER_PREFIX)git.janware.com/srv/git/$(JANWARE_USER)/contrib/$(PROJECT_DIRNAME)
|
||||
SUBMOD_PATH = $(patsubst $(abspath $(TOPDIR))/%,%,$(abspath $(shell $(CWD))/$(SUBMOD_SRC_DIR)))
|
||||
SUBMOD_SRC_DIR ?= .
|
||||
SUB_GIT = git -C $(SUBMOD_SRC_DIR)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue