Skip to content

Commit da9de51

Browse files
committed
rename CPYTHON_ROOT -> CPYTHON_PATH
1 parent e47e5a6 commit da9de51

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Diff for: CONTRIBUTING.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
This project includes a simple Makefile for syncing changes to the theme with
2020
the main cpython repository. Run ``make help`` for details on available rules.
2121

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
2323
to the cpython repository on your machine. By default, it points to
2424
``../cpython``.

Diff for: Makefile

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
CPYTHON_ROOT = ../cpython
1+
CPYTHON_PATH = ../cpython
22
PACKAGE_ABS_PATH = $(shell pwd)/$(shell find dist/python-docs-theme-*.tar.gz)
33

44

55
.PHONY: all
66
all: install
7-
cd $(CPYTHON_ROOT)/Doc && \
7+
cd $(CPYTHON_PATH)/Doc && \
88
make html
99

1010

1111
.PHONY: install
1212
install:
1313
python3 -m build
14-
cd $(CPYTHON_ROOT)/Doc && \
14+
cd $(CPYTHON_PATH)/Doc && \
1515
./venv/bin/pip install $(PACKAGE_ABS_PATH)
1616

1717
.PHONY: help
1818
help:
1919
@echo "all: run the \`\`\install\`\\ rule, and also rebuild the cpython docs"
2020
@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"

0 commit comments

Comments
 (0)