git-submod.mk: Add support for SUBMOD_SRC_DIR

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2016-08-02 12:31:17 +00:00
commit 5a103f4456

View file

@ -3,6 +3,9 @@ install:
clean: clean:
distclean: distclean:
SUBMOD_SRC_DIR ?= .
export GIT_EXEC_PATH = $(SUBMOD_SRC_DIR)
git-submod-init-remote: git-submod-init-remote:
@echo "FIXME: git-srv-admin.sh needs to support creating a bare repo below <user>/contrib/<project>." @echo "FIXME: git-srv-admin.sh needs to support creating a bare repo below <user>/contrib/<project>."
@echo "FIXME: Then this target in $(lastword $(MAKEFILE_LIST)) has to do the following:" @echo "FIXME: Then this target in $(lastword $(MAKEFILE_LIST)) has to do the following:"