pkg.soopen package index

brew / 排名 7356

使用 Homebrew, apt, Nix 安装 makefile2graph

查看 makefile2graph 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install makefile2graph

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install makefile2graph

Debian stable package indexes · makefile2graph · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#makefile2graph

nixpkgs package indexes · pkgs/by-name/ma/makefile2graph/package.nix · 来源: api.github.com

概览

软件包摘要

Create a graph of dependencies from GNU-Make

命令和别名

  • make2graph
  • makefile2graph

历史

项目历史与用法

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.

时间线

  • 2014: GitHub repository is created.
  • 2014: README history records fixes for GNU Make 4.0 output and early CLI options.
  • 2014: 'deep' output is added for deepest independent targets.
  • 2023: Graph, node, edge, and dirty attribute options are added.
  • 2023: PlantUML and Mermaid output formats are added.

Related projects

  • GNU Make is the input source whose debug output makefile2graph parses.
  • Graphviz/dot is the default graph output target.
  • PlantUML and Mermaid are later text graph output targets.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
make2graph可执行文件已索引可执行文件从本地可执行文件索引发现。
makefile2graph可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本2021.11.06
管理器更新时间2026-06-13
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:makefile2graph
版本2021.11.06
软件包管理器Homebrew
主页https://github.com/lindenb/makefile2graph
仓库https://github.com/lindenb/makefile2graph
最后更新2026-06-13T23:35:04+02:00
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

makefile2graph 2021.11.06-1+b1

creates a graph of dependencies from GNU-Make

https://github.com/lindenb/makefile2graph

sudo apt install makefile2graph
  • Section: misc
  • Architecture: amd64
  • Source Package: makefile2graph
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Makefile2graph
Debian stable package indexes · deb.debian.org · Debian stable package indexes: makefile2graph from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

makefile2graph

nix profile install nixpkgs#makefile2graph
  • normalized package name match
  • 匹配方式:Makefile2graph
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ma/makefile2graph/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

makefile2graph 2021.11.06-1

creates a graph of dependencies from GNU-Make

https://github.com/lindenb/makefile2graph

sudo apt install makefile2graph
  • Section: universe/misc
  • Architecture: amd64
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Makefile2graph
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: makefile2graph from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation