File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -10,3 +10,6 @@ pyvenv.cfg
1010/_build
1111* ~
1212lib64
13+
14+ # symlinked from submodule
15+ docs /volto
Original file line number Diff line number Diff line change 33SHELL =bash
44.DEFAULT_GOAL = all
55
6+ CWD = $(pwd )
7+
68# You can set these variables from the command line.
79SPHINXOPTS =
810SPHINXBUILD = $(realpath bin/sphinx-build)
@@ -35,14 +37,16 @@ build: ## Set up training: Install requirements
3537 bin/pip install -r requirements.txt
3638
3739bin/python :
38- python3 -m venv . || virtualenv --clear --python=python3 .
39- bin/python -m pip install --upgrade pip
40+ cd $(CWD ) ; \
41+ python3 -m venv . || virtualenv --clear --python=python3 . ; \
42+ bin/python -m pip install --upgrade pip; \
4043 bin/pip install -r requirements.txt
4144
4245docs/volto :
4346 # git submodule add [email protected] :plone/volto.git submodules/volto 44- git submodule init
45- git submodule update
47+ cd $(CWD ) ; \
48+ git submodule init; \
49+ git submodule update; \
4650 ln -s ../submodules/volto/docs/source ./docs/volto
4751
4852.PHONY : deps
You can’t perform that action at this time.
0 commit comments