[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] master e907eef6b: builds/freetype.mk: Invoke `mkdocs` as a P
From: |
Werner Lemberg |
Subject: |
[freetype2] master e907eef6b: builds/freetype.mk: Invoke `mkdocs` as a Python module |
Date: |
Sat, 19 Aug 2023 08:39:32 -0400 (EDT) |
branch: master
commit e907eef6b2d1a2606748598a4736d054dd3ef34f
Author: Hugh McMaster <hugh.mcmaster@outlook.com>
Commit: Hugh McMaster <hugh.mcmaster@outlook.com>
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.
---
builds/freetype.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] master e907eef6b: builds/freetype.mk: Invoke `mkdocs` as a Python module,
Werner Lemberg <=