| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,7 +1,6 @@ | |||
| 1 | 1 | # You can set these variables from the command line. | |
| 2 | 2 | CPYTHON_PATH = ../cpython | |
| 3 | 3 | PYTHON = python3 | |
| 4 | - PACKAGE_ABS_PATH = $(shell pwd)/$(shell find dist/python-docs-theme-*.tar.gz) | ||
| 5 | 4 | SPHINXOPTS = | |
| 6 | 5 | ||
| 7 | 6 | ||
@@ -15,10 +14,11 @@ help: | |||
| 15 | 14 | .PHONY: venv | |
| 16 | 15 | venv: | |
| 17 | 16 | $(PYTHON) -m pip install build | |
| 17 | + rm -rf dist/ | ||
| 18 | 18 | $(PYTHON) -m build | |
| 19 | 19 | cd $(CPYTHON_PATH)/Doc \ | |
| 20 | 20 | && make venv \ | |
| 21 | - && ./venv/bin/pip install $(PACKAGE_ABS_PATH) | ||
| 21 | + && ./venv/bin/pip install $(CURDIR)/dist/python_docs_theme-*.tar.gz | ||
| 22 | 22 | ||
| 23 | 23 | .PHONY: html | |
| 24 | 24 | html: venv | |
| Back | FazBrowse Home | New Git URL |
0 commit comments