Automic VaultAutomic Vault

brew

makefile2graph を Homebrew, apt, Nix でインストール

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

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 13 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
make2graphcliグローバル実行可能ファイル
makefile2graphcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-08
マネージャ版2021.11.06
マネージャ更新日2026-06-13
ローカルデータOK
上流最新
検出された最新2021.11.06

https://github.com/lindenb/makefile2graph

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキー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
Pulseupdated
依存関係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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namemakefile2graph
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの 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

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment