@@ -60,6 +60,7 @@ SAGE_DOCS_DISABLED_MESSAGE = This Sage build is configured with "configure --dis
6060# Where the Sage distribution installs Python packages.
6161# This can be overridden by 'make SAGE_VENV=/some/venv'.
6262SAGE_VENV = @SAGE_VENV@
63+ JUPYTER_VENV = @JUPYTER_VENV@
6364
6465# Generate/install sage-specific .pc files.
6566# see build/pkgs/gsl/spkg-configure.m4
@@ -184,7 +185,7 @@ $(SAGE_LOCAL)/$(SPKG_INST_RELDIR)/.dummy:
184185
185186
186187# Filtered by installation tree
187- $(foreach tree,SAGE_LOCAL SAGE_VENV SAGE_DOCS, \
188+ $(foreach tree,SAGE_LOCAL SAGE_VENV JUPYTER_VENV SAGE_DOCS, \
188189 $(eval $(tree)_INSTALLED_PACKAGE_INSTS = \
189190 $(foreach pkgname,$(INSTALLED_PACKAGES), \
190191 $(if $(findstring $(tree),$(trees_$(pkgname))), \
@@ -252,6 +253,8 @@ $(inst_python3_venv): | $(SAGE_VENV)/$(SPKG_INST_RELDIR)
252253 touch " $@ "
253254endif
254255
256+
257+
255258# Build everything and start Sage.
256259# Note that we put the "doc" target first in the rule below because
257260# the doc build takes the most time and should be started as soon as
@@ -273,7 +276,8 @@ base-toolchain: _clean-broken-gcc base
273276# All targets except for the base packages and except the documentation
274277all-sage : \
275278 $(SAGE_LOCAL_INSTALLED_PACKAGE_INSTS ) $(SAGE_LOCAL_UNINSTALLED_PACKAGES_UNINSTALLS ) \
276- $(SAGE_VENV_INSTALLED_PACKAGE_INSTS ) $(SAGE_VENV_UNINSTALLED_PACKAGES_UNINSTALLS )
279+ $(SAGE_VENV_INSTALLED_PACKAGE_INSTS ) $(SAGE_VENV_UNINSTALLED_PACKAGES_UNINSTALLS ) \
280+ $(JUPYTER_VENV_INSTALLED_PACKAGE_INSTS ) $(JUPYTER_VENV_UNINSTALLED_PACKAGES_UNINSTALLS )
277281
278282# Same but filtered by installation trees:
279283all-build-local : toolchain-deps
@@ -286,6 +290,11 @@ all-build-venv: toolchain-deps
286290
287291all-sage-venv : $(SAGE_VENV_INSTALLED_PACKAGE_INSTS ) $(SAGE_VENV_UNINSTALLED_PACKAGES_UNINSTALLS )
288292
293+ all-build-jupyter : toolchain-deps
294+ +$(MAKE_REC ) all-jupyter-venv
295+
296+ all-jupyter-venv : $(JUPYTER_VENV_INSTALLED_PACKAGE_INSTS ) $(JUPYTER_VENV_UNINSTALLED_PACKAGES_UNINSTALLS )
297+
289298all-build-docs : toolchain-deps
290299 +$(MAKE_REC ) all-sage-docs
291300
0 commit comments