macOS
brew install makefile2graphlocal Homebrew formula metadata
安装
brew install makefile2graphlocal Homebrew formula metadata
sudo apt install makefile2graphDebian stable package indexes · makefile2graph · 来源: deb.debian.org
nix profile install nixpkgs#makefile2graphnixpkgs package indexes · pkgs/by-name/ma/makefile2graph/package.nix · 来源: api.github.com
概览
Create a graph of dependencies from GNU-Make
历史
makefile2graph is a small command-line tool that turns GNU Make's debug database output into dependency graphs.
The upstream repository was created in 2014 and the README history records active feature work starting in September 2014, including fixes for GNU Make 4.0 output, long options, basename and suffix handling, root node output, and version printing.
The README shows the tool widening beyond its original Graphviz/dot and GEXF XML output. It added a 'deep' output mode in December 2014, graph formatting controls in August 2023, and PlantUML and Mermaid output formats on August 30, 2023.
The official README describes a specific package-maintainer workflow: pipe 'make -Bnd' into make2graph, then feed dot output to Graphviz or emit XML, PlantUML, Mermaid, target lists, or deepest independent targets.
Its adoption evidence is mostly repository-level and use-case based rather than institutional. The README's cluster note for deepest independent targets shows the tool solving a real build-analysis problem for complex makefiles.
Typical usage is 'make -Bnd | make2graph > output.dot' or piping the result to Graphviz to render an image. Other formats include GEXF XML, Mermaid, PlantUML, all-target lists, and deepest independent target output.
The README notes an important parser constraint: make2graph only parses English messages from GNU Make, so users with another locale should set LC_ALL=C. It also states that sub-makefiles are not supported.
makefile2graph is the sort of tool package maintainers reach for when a makefile has become a dependency maze. It gives a visual or list-oriented view of what GNU Make thinks it is going to do.
It is also interesting because it depends on GNU Make's own debug output rather than reimplementing a makefile parser. That keeps the tool small, but ties it to GNU Make output format and locale.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
make2graph | cli | 全局可执行文件 | |
makefile2graph | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/lindenb/makefile2graph
安装元数据
| 软件包键 | brew:makefile2graph |
|---|---|
| 版本 | 2021.11.06 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/makefile2graph |
| 主页 | https://github.com/lindenb/makefile2graph |
| 仓库 | https://github.com/lindenb/makefile2graph |
| 上游文档 | https://github.com/lindenb/makefile2graph#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/lindenb/makefile2graph/archive/refs/tags/2021.11.06.tar.gz |
| 最后更新 | 2026-06-13T23:35:04+02:00 |
| Pulse | updated |
| 依赖 | graphviz |
| Bottle | 可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | makefile2graph |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
makefile2graph 2021.11.06-1+b1
creates a graph of dependencies from GNU-Make
https://github.com/lindenb/makefile2graph
sudo apt install makefile2graphmakefile2graph
nix profile install nixpkgs#makefile2graphmakefile2graph 2021.11.06-1
creates a graph of dependencies from GNU-Make
https://github.com/lindenb/makefile2graph
sudo apt install makefile2graph来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.