File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 19
19
This project includes a simple Makefile for syncing changes to the theme with
20
20
the main cpython repository. Run ``make help `` for details on available rules.
21
21
22
- There is one configurable variable, ``CPYTHON_ROOT ``, which should be the path
22
+ There is one configurable variable, ``CPYTHON_PATH ``, which should be the path
23
23
to the cpython repository on your machine. By default, it points to
24
24
``../cpython ``.
Original file line number Diff line number Diff line change 1
- CPYTHON_ROOT = ../cpython
1
+ CPYTHON_PATH = ../cpython
2
2
PACKAGE_ABS_PATH = $(shell pwd) /$(shell find dist/python-docs-theme-* .tar.gz)
3
3
4
4
5
5
.PHONY : all
6
6
all : install
7
- cd $(CPYTHON_ROOT ) /Doc && \
7
+ cd $(CPYTHON_PATH ) /Doc && \
8
8
make html
9
9
10
10
11
11
.PHONY : install
12
12
install :
13
13
python3 -m build
14
- cd $(CPYTHON_ROOT ) /Doc && \
14
+ cd $(CPYTHON_PATH ) /Doc && \
15
15
./venv/bin/pip install $(PACKAGE_ABS_PATH )
16
16
17
17
.PHONY : help
18
18
help :
19
19
@echo " all: run the \`\` \install\`\\ rule, and also rebuild the cpython docs"
20
20
@echo " install: build the package, and install it in the virtual environment"
21
- @echo " at $( CPYTHON_ROOT ) /Doc/venv"
21
+ @echo " at $( CPYTHON_PATH ) /Doc/venv"
You can’t perform that action at this time.
0 commit comments