summaryrefslogtreecommitdiff
path: root/docs/shared_bindings_matrix.py
diff options
context:
space:
mode:
authorJeff Epler <jepler@gmail.com>2020-05-25 13:46:30 -0500
committerJeff Epler <jepler@gmail.com>2020-05-25 13:46:30 -0500
commit8f81beea7e83b33664d5ab6fc5e210723b10bb04 (patch)
tree92502623c29966a0647dc32082096ed7667b4357 /docs/shared_bindings_matrix.py
parent76149ebf570a108f4b09c3624129fd1b2c7e26ad (diff)
shared_bindings_matrix: Use a trivial target
Sommersoft noticed that without submodules (as RTD currently does), the "make -qp" failed due to trying to find files within submodules. The "print-VAR" target doesn't have any dependencies, so it sidesteps the problem. If we move ulab's pyi files into the submodule, though, we'll need to fetch submodules anyway during doc building.
Diffstat (limited to 'docs/shared_bindings_matrix.py')
-rw-r--r--docs/shared_bindings_matrix.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/shared_bindings_matrix.py b/docs/shared_bindings_matrix.py
index 7768296a1..0c838fedb 100644
--- a/docs/shared_bindings_matrix.py
+++ b/docs/shared_bindings_matrix.py
@@ -90,7 +90,7 @@ def get_settings_from_makefile(port_dir, board_name):
in this script, something that has proved error-prone
"""
- status, contents = subprocess.getstatusoutput(f"make -C {port_dir} BOARD={board_name} -qp")
+ status, contents = subprocess.getstatusoutput(f"make -C {port_dir} BOARD={board_name} -qp print-CC")
# Make signals errors with exit status 2; 0 and 1 are "non-error" statuses
if status not in (0, 1):
raise RuntimeError(f'Invoking make exited with {status}')