Skip to content

Commit 989973a

Browse files
authored
doc: Fix version reading in Makefile on Windows (#58536)
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.
1 parent d5442db commit 989973a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ help:
2121
@echo "To fix outdated doctests, use 'make <target> doctest=fix'"
2222
@echo "To run doctests using Revise (to test changes without rebuilding the sysimage), use 'make <target> doctest=true revise=true'"
2323

24-
VERSDIR := v`cut -d. -f1-2 < $(JULIAHOME)/VERSION`
24+
VERSDIR := v$(shell cut -d. -f1-2 < $(JULIAHOME)/VERSION)
2525
DOCUMENTER_OPTIONS := linkcheck=$(linkcheck) doctest=$(doctest) buildroot=$(call cygpath_w,$(BUILDROOT)) \
2626
texplatform=$(texplatform) revise=$(revise) stdlibdir=$(call cygpath_w,$(build_datarootdir)/julia/stdlib/$(VERSDIR)/)
2727

0 commit comments

Comments
 (0)