Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite6ed424

Browse files
committed
Makefile suggestions
1 parentfb7f510 commite6ed424

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

‎Makefile

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,22 @@ CPYTHON_PATH = ../cpython
22
PACKAGE_ABS_PATH =$(shell pwd)/$(shell find dist/python-docs-theme-*.tar.gz)
33

44

5-
.PHONY:all
6-
all: install
5+
.PHONY:html
6+
html: venv
77
cd$(CPYTHON_PATH)/Doc&&\
88
make html
99

1010

11-
.PHONY: install
12-
install:
11+
.PHONY: venv
12+
venv:
13+
python3 -m pip install build
1314
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)
1618

1719
.PHONY: help
1820
help:
19-
@echo"all:default rule; run the\`install\` rule, and also rebuild thecpython 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 theCPython docs"
22+
@echo"venv: build the package, and install it into the virtual environment"
2123
@echo"at$(CPYTHON_PATH)/Doc/venv"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp