Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ build:
pip install build
python -m build

docs-clean:
gmsh:
sudo apt-get update
sudo apt-get install -y python3-gmsh gmsh libglu1-mesa libxi-dev libxmu-dev libglu1-mesa-dev
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue: Running sudo apt-get inside a make target can break non-root or CI usage.

This target assumes sudo is available and that the system uses apt-get, which will fail or be disallowed in many CI/container/non-root environments and can cause side effects when running make. Please either treat these as documented manual prerequisites, move them to a separate setup script, or gate this target behind an explicit opt-in flag (e.g. ENABLE_SYSTEM_INSTALL=1).


docs-clean: gmsh
rm -rf docs/_build

docs: docs-clean
Expand Down
Loading