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
on enlève make serve puisqu'il a été enlevé en upstream
  • Loading branch information
eviau committed Nov 13, 2022
commit bd75181f9a518f9f8e4502aa87eaa9707ecff9fc
11 changes: 1 addition & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ all: ensure_prerequisites
-D latex_elements.inputenc= \
-D latex_elements.fontenc=' \
$(MODE)
@echo "Build success, open file://$(abspath venv/cpython/)/Doc/build/html/index.html or run 'make serve' to see them."
@echo "Build success, open file://$(abspath venv/cpython/)/Doc/build/html/index.html or run 'make htmlview' to see them."


# We clone cpython/ inside venv/ because venv/ is the only directory
Expand All @@ -117,15 +117,6 @@ ensure_prerequisites: venv/cpython/.git/HEAD
exit 1; \
fi


.PHONY: serve
serve:
ifdef SERVE_PORT
$(MAKE) -C venv/cpython/Doc/ serve SERVE_PORT=$(SERVE_PORT)
else
$(MAKE) -C venv/cpython/Doc/ serve
endif

.PHONY: htmlview
htmlview: MODE=htmlview
htmlview: all
Expand Down