🌐 AI搜索 & 代理 主页
Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Only call generate_release_cycle.py once via 'make html'
  • Loading branch information
hugovk committed Nov 10, 2025
commit 0e5cb84d1cb920d94190a1ab442360766a82b963
17 changes: 11 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,20 @@ _ensure-pre-commit:
lint: _ensure-pre-commit
$(VENVDIR)/bin/python3 -m pre_commit run --all-files

# Defined so that "include/release-cycle.json"
# doesn't fall through to the catch-all target.
include/release-cycle.json:
@exit

$(_RELEASE_CYCLE): include/release-cycle.json
# Generate all release cycle files together with a single script invocation
# Use branches.csv as the primary target, others depend on it
include/branches.csv:
$(VENVDIR)/bin/python3 _tools/generate_release_cycle.py
@echo Release cycle data generated.

# Other files are generated together with branches.csv
include/end-of-life.csv: include/branches.csv
@:
include/release-cycle-all.svg: include/branches.csv
@:
include/release-cycle.svg: include/branches.csv
@:

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option.
.PHONY: Makefile
Expand Down
Loading