File tree 1 file changed +10
-8
lines changed
1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -2,20 +2,22 @@ CPYTHON_PATH = ../cpython
2
2
PACKAGE_ABS_PATH = $(shell pwd) /$(shell find dist/python-docs-theme-* .tar.gz)
3
3
4
4
5
- .PHONY : all
6
- all : install
5
+ .PHONY : html
6
+ html : venv
7
7
cd $(CPYTHON_PATH ) /Doc && \
8
8
make html
9
9
10
10
11
- .PHONY : install
12
- install :
11
+ .PHONY : venv
12
+ venv :
13
+ python3 -m pip install build
13
14
python3 -m build
14
- cd $(CPYTHON_PATH ) /Doc && \
15
- ./venv/bin/pip install $(PACKAGE_ABS_PATH )
15
+ cd $(CPYTHON_PATH ) /Doc \
16
+ && make venv \
17
+ && ./venv/bin/pip install $(PACKAGE_ABS_PATH )
16
18
17
19
.PHONY : help
18
20
help :
19
- @echo " all : default rule; run the \` install \` rule, and also rebuild the cpython docs"
20
- @echo " install: build the package, and install it into the virtual environment"
21
+ @echo " html : default rule; run the \` venv \` rule, and also rebuild the CPython docs"
22
+ @echo " venv: build the package, and install it into the virtual environment"
21
23
@echo " at $( CPYTHON_PATH) /Doc/venv"
You can’t perform that action at this time.
0 commit comments