mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
projects-dir-minimal.mk: Add PROJECTS_DIR_REMOTE_USER_SUBPATH = /proj
PROJECTS_DIR_REMOTE_USER_SUBPATH is a janware.com specialty somewhat. Having subpaths is a Forgejo feature request on Codeberg, though, so it might also be here to stay. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
27e9b23849
commit
f9fe1dbe51
1 changed files with 2 additions and 1 deletions
|
|
@ -29,12 +29,13 @@ ifeq ($(origin PROJECTS_DIR_REMOTE_BASE),undefined)
|
|||
ifneq ($(JANWARE_USER),)
|
||||
CLONE_FROM_USER ?= $(JANWARE_USER)
|
||||
PROJECTS_DIR_REMOTE_BASE ?= ssh://$(JANWARE_USER)@git.janware.com/srv/git
|
||||
PROJECTS_DIR_REMOTE_USER_SUBPATH ?= /proj
|
||||
else
|
||||
CLONE_FROM_USER ?= janware
|
||||
PROJECTS_DIR_REMOTE_BASE ?= https://janware.com/code
|
||||
endif
|
||||
endif
|
||||
JWBDIR_GIT_REMOTE ?= $(PROJECTS_DIR_REMOTE_BASE)/$(CLONE_FROM_USER)/$(notdir $(JWBDIR))
|
||||
JWBDIR_GIT_REMOTE ?= $(PROJECTS_DIR_REMOTE_BASE)/$(CLONE_FROM_USER)$(PROJECTS_DIR_REMOTE_USER_SUBPATH)/$(notdir $(JWBDIR))
|
||||
PROJECTS_DIR_INCLUDE_MK = $(JWBDIR)/make/projects-dir-include.mk
|
||||
|
||||
all:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue