aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugh McMaster <hugh.mcmaster@outlook.com>2023-08-19 22:02:14 +1000
committerHugh McMaster <hugh.mcmaster@outlook.com>2023-08-19 22:02:14 +1000
commite907eef6b2d1a2606748598a4736d054dd3ef34f (patch)
treeee63942d849034d3c313b5524e8063bf45f25015
parenta9793feacefac6d44b761bed12566029f5811063 (diff)
downloadfreetype-e907eef6b2d1a2606748598a4736d054dd3ef34f.tar.gz
builds/freetype.mk: Invoke `mkdocs` as a Python module
FreeType's `refdoc` target currently allows users to override the default Python path, which is useful for testing and development. In contrast, `mkdocs` is invoked via the default Python path. Invoking `mkdocs` via Python's module syntax allows for greater flexibility, although there is no change for the default use case.
-rw-r--r--builds/freetype.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/builds/freetype.mk b/builds/freetype.mk
index d96ded072..b3fac80fd 100644
--- a/builds/freetype.mk
+++ b/builds/freetype.mk
@@ -299,7 +299,7 @@ refdoc:
$(PUBLIC_DIR)/config/*.h \
$(PUBLIC_DIR)/cache/*.h
@echo Building static site...
- cd $(DOC_DIR) && mkdocs build
+ cd $(DOC_DIR) && $(PYTHON) -m mkdocs build
@echo Done.
# Variables for running `refdoc' with Python's `virtualenv'. The