From d002c90b67d7c58e3260f82e6e6daebd41e07c5b Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 15 May 2020 15:52:28 +0300 Subject: Add debian packaging talk slides --- debian.dot | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 debian.dot (limited to 'debian.dot') diff --git a/debian.dot b/debian.dot new file mode 100644 index 0000000..8a7e446 --- /dev/null +++ b/debian.dot @@ -0,0 +1,57 @@ +digraph "debian" { + labelloc=b; + rankdir="LR"; + + node [style=filled]; + + + subgraph cluster_srctree { + label="Source tree"; + hellodotc [label="hello.c" shape=tab fillcolor=green]; + Makefile [label="Makefile" shape=tab fillcolor=green]; + changelog [label="debian/changelog" shape=tab fillcolor=green]; + control [label="debian/control" shape=tab fillcolor=green]; + rules [label="debian/rules" shape=tab fillcolor=green]; + hello [label="hello" shape=tab style=filled fillcolor=red]; + hellodoto [label="hello.o" shape=tab style=filled fillcolor=red]; + }; + + subgraph cluster_build { + label="dpkg-buildpackage"; + build [label="debian/rules build"]; + install [label="debian/rules install"]; + binary [label="debian/rules binary"]; + tmp [label="debian/tmp/usr/bin/hello" shape=tab]; + DEBIAN [label="debian/tmp/DEBIAN" shape=tab]; + }; + + subgraph cluster_parent { + label=".. (parent directory)"; + deb [label="../hello_0.6-1_amd64.deb" shape=tab fillcolor=cyan]; + tgz [label="../hello_0.6.orig.tar.gz" shape=tab fillcolor=cyan]; + changes [label="../hello_0.6-1_amd64.changes" shape=tab fillcolor=cyan]; + diff [label="../hello_0.6-1_amd64.diff" shape=tab fillcolor=cyan]; + }; + + hellodotc -> tgz; + Makefile -> tgz; + + hellodotc -> build; + Makefile -> build; + rules -> build; + + build -> hellodoto; + build -> hello; + hello -> install; + + install -> tmp; + install -> DEBIAN; + changelog -> install; + control -> install; + rules -> install; + tmp -> binary; + DEBIAN -> binary; + binary -> deb; + binary -> changes; + binary -> diff; +} -- cgit v1.2.1