mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
git-submod.mk: Include $(MODDIR)/make/defs.mk
If defs.mk isn't included, CWD is undefined, which leads to an attempt to add the wrong submodule path upon initialization Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
594becf931
commit
ed6e3fd70f
1 changed files with 2 additions and 0 deletions
|
|
@ -16,6 +16,8 @@ SUB_GIT = git -C $(SUBMOD_SRC_DIR)
|
|||
SUBMOD_PKG_NAME := $(shell $(SUB_GIT) remote -v | sed -n 's/^[a-zA-Z_]\+\s//; s/ *.*//; s%.*/%%; s%\.git%%; 1p')
|
||||
SUBMOD_MAIN_BRANCH := $(shell $(SUB_GIT) branch --format '%(refname:lstrip=2)')
|
||||
|
||||
include $(MODDIR)/make/defs.mk
|
||||
|
||||
all:
|
||||
install:
|
||||
clean:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue