From c586165c7d4d159b6e0c84b116eb5337a1db8f43 Mon Sep 17 00:00:00 2001 From: Keno Fischer Date: Tue, 27 May 2025 14:56:27 +0000 Subject: [PATCH] doc: Fix version reading in Makefile on Windows I copied this expression from the toplevel Makefile, but here we need to read the version eargerly, because otherwise cygpath_w does not work. This had broken the windows build, but I did not notice due to the ongoing CI difficulties. --- doc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Makefile b/doc/Makefile index ccb6af38c9d80..2b95cc9f96e9b 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -21,7 +21,7 @@ help: @echo "To fix outdated doctests, use 'make doctest=fix'" @echo "To run doctests using Revise (to test changes without rebuilding the sysimage), use 'make doctest=true revise=true'" -VERSDIR := v`cut -d. -f1-2 < $(JULIAHOME)/VERSION` +VERSDIR := v$(shell cut -d. -f1-2 < $(JULIAHOME)/VERSION) DOCUMENTER_OPTIONS := linkcheck=$(linkcheck) doctest=$(doctest) buildroot=$(call cygpath_w,$(BUILDROOT)) \ texplatform=$(texplatform) revise=$(revise) stdlibdir=$(call cygpath_w,$(build_datarootdir)/julia/stdlib/$(VERSDIR)/)