Skip to content

màj: utilisation de htmlserve au lieu de serve dans le Makefile #1919

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Nov 13, 2022
Merged
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
ajout htmlview en plus de serve
  • Loading branch information
eviau committed Nov 6, 2022
commit a434179ca3677e66a1c17cffdc1e6917ac688228
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,15 @@ ensure_prerequisites: venv/cpython/.git/HEAD
.PHONY: serve
serve:
ifdef SERVE_PORT
$(MAKE) -C venv/cpython/Doc/ htmlview SERVE_PORT=$(SERVE_PORT)
$(MAKE) -C venv/cpython/Doc/ serve SERVE_PORT=$(SERVE_PORT)
else
$(MAKE) -C venv/cpython/Doc/ htmlview
$(MAKE) -C venv/cpython/Doc/ serve
endif

.PHONY: htmlview
htmlview: MODE=htmlview
htmlview: all

.PHONY: todo
todo: ensure_prerequisites
potodo --exclude venv .venv $(EXCLUDED)
Expand Down