make-ls
make-ls is a Makefile language server written in Python.
It uses an owned Make parser and checks recipe shell syntax with bash -n.
Features
- hover, go-to-definition, and references for targets and variables
- variable rename
- quick fixes for unknown variables that add an empty assignment
- quick fixes for unresolved prerequisites that create a target stub recipe
checksubcommand for batch diagnostics- hover for common GNU Make directives, functions, builtin variables, and special targets
- diagnostics for Makefile syntax
- diagnostics for unresolved plain prerequisites
- diagnostics for shell syntax inside recipes
- target lookup through explicit
include,-include, andsincludedirectives
Limits
- no full GNU Make evaluation
- include resolution is still limited
- no completion yet
Install
uv tool install make-ls
Run
make-ls
In stdio LSP mode this writes logs to $XDG_STATE_HOME/make-ls/, or
~/.local/state/make-ls/ when XDG_STATE_HOME is unset. The default file name
is a stable hash derived from the launch directory.
To override the log path:
make-ls --log-file /tmp/make-ls.log --log-level debug
To disable file logging entirely:
make-ls --no-log-file
Lint files or directories:
make-ls check Makefile rules.mk
make-ls check .
make-ls check --format json . > make-ls.sarif
For local development:
uv sync --all-groups
uv run make-ls
Neovim
vim.lsp.config('make-ls', {
cmd = { 'make-ls' },
filetypes = { 'make' },
root_markers = { 'Makefile' },
})
vim.lsp.enable("make-ls")
With the default cmd = { 'make-ls' }, Neovim LSP logs land in a launch-path
specific file under the XDG state log directory.
Development
make check
make test
make build
Metadata
Release files for make-ls 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| make_ls-0.4.0.tar.gz | 34.2 kB | With provenance | Details for make_ls-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| make_ls-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for make_ls-0.4.0-py3-none-any.whl |
Total release size: 73.1 kB
Release files / make_ls-0.4.0.tar.gz
| Download URL | make_ls-0.4.0.tar.gz |
|---|---|
| Size | 34.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
80b2cecf78dcdb3872e243bc26f4516a020a04bcdbdd36ba11bf426dbba65992
|
|
BLAKE2b-256 checksum How to use checksums |
c053f8c7151ef3c8e68e9fd9247cc9810503ac94b37e150aeca28256fc98aeb5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 24, 2026.
Transparency logRelease files / make_ls-0.4.0-py3-none-any.whl
| Download URL | make_ls-0.4.0-py3-none-any.whl |
|---|---|
| Size | 39.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8c374b568c17100e8d417c68a3bcab6cae10529f67df27820d1c6df6f8ba00ac
|
|
BLAKE2b-256 checksum How to use checksums |
c5096b5e2bb9cd08d068727d208487dec95fc443cc595c2abb6a225f51a0f36c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 24, 2026.
Transparency logSecurity for make-ls 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for make_ls-0.4.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 24, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.