# makefile2graph mit Homebrew, apt, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für makefile2graph in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:makefile2graph
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install makefile2graph
```

  Evidenz: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install makefile2graph
```

  Evidenz: Debian stable package indexes: makefile2graph from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#makefile2graph
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/ma/makefile2graph/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Paketfakten

- **Paketschlüssel:** brew:makefile2graph
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/makefile2graph>
- **Version:** 2021.11.06
- **Quellzusammenfassung:** Create a graph of dependencies from GNU-Make
- **Homepage:** <https://github.com/lindenb/makefile2graph>
- **Repository:** <https://github.com/lindenb/makefile2graph>
- **Upstream-Dokumentation:** <https://github.com/lindenb/makefile2graph#readme>
- **Lizenz:** MIT
- **Quellarchiv:** <https://github.com/lindenb/makefile2graph/archive/refs/tags/2021.11.06.tar.gz>
- **Zuletzt aktualisiert:** 2026-06-13T23:35:04+02:00
- **Generiert:** 2026-07-08T18:08:21+00:00

## Executables

- make2graph (cli)
- makefile2graph (cli)
- make2graph (Alias)
- makefile2graph (Alias)

## Abhängigkeiten

- graphviz

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Version und Aktualität

- Seite generiert: 2026-07-08
- Manager-Version: 2021.11.06
- Manager aktualisiert: 2026-06-13
- lokale Daten: OK
- Upstream-Repository: https://github.com/lindenb/makefile2graph
- neueste erkannte Version: 2021.11.06 (aktuell)
## Projektgeschichte und Nutzung

makefile2graph is a small command-line tool that turns GNU Make's debug database output into dependency graphs.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

- 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.

### Quellen

- <https://api.github.com/repos/lindenb/makefile2graph>
- <https://github.com/lindenb/makefile2graph>
- <https://raw.githubusercontent.com/lindenb/makefile2graph/master/README.md>


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Details aus der Quelldatenbank

- **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:** head, stable

## Andere Paketmanager-Einträge

- Debian apt - makefile2graph - 2021.11.06-1+b1: normalized package name match | Debian stable package indexes: makefile2graph from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | creates a graph of dependencies from GNU-Make | https://github.com/lindenb/makefile2graph
- Nix - makefile2graph: normalized package name match | nixpkgs package indexes: pkgs/by-name/ma/makefile2graph/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - makefile2graph - 2021.11.06-1: normalized package name match | Ubuntu 24.04 LTS package indexes: makefile2graph from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | creates a graph of dependencies from GNU-Make | https://github.com/lindenb/makefile2graph


## Verwandte Links

- [Source-control packages](https://www.automicvault.com/de/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/de/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/de/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/de/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [graphviz](https://www.automicvault.com/de/pkg/brew/graphviz/) - Runtime dependency declared by Homebrew.
- [git-big-picture](https://www.automicvault.com/de/pkg/brew/git-big-picture/) - Shares av.db curated category or tags: cli, developer-tools, graphviz, visualization.
- [gprof2dot](https://www.automicvault.com/de/pkg/brew/gprof2dot/) - Shares av.db curated category or tags: cli, developer-tools, graphviz, visualization.
- [make](https://www.automicvault.com/de/pkg/brew/make/) - Shares av.db curated category or tags: build, cli, developer-tools, makefiles.
- [makedepend](https://www.automicvault.com/de/pkg/brew/makedepend/) - Shares av.db curated category or tags: build, cli, developer-tools, makefiles.
- [xdot](https://www.automicvault.com/de/pkg/brew/xdot/) - Shares av.db curated category or tags: cli, developer-tools, graphviz, visualization.
- [cargo-chef](https://www.automicvault.com/de/pkg/brew/cargo-chef/) - Shares av.db curated category or tags: build, cli, developer-tools.
- [cargo-depgraph](https://www.automicvault.com/de/pkg/brew/cargo-depgraph/) - Shares av.db curated category or tags: cli, dependency-graph, developer-tools, graphviz, visualization.
- [chronograf](https://www.automicvault.com/de/pkg/brew/chronograf/) - Shares av.db curated category or tags: cli, developer-tools, visualization.
- [dockerfilegraph](https://www.automicvault.com/de/pkg/brew/dockerfilegraph/) - Local package facts share a topical domain. Shared terms: cli, dependency, dependency-graph, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/makefile2graph.yml](https://github.com/automic-vault/db/blob/main/combined/makefile2graph.yml)


## Quellen

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