aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-08-23 07:59:03 -0300
committerEuAndreh <eu@euandre.org>2021-08-23 07:59:03 -0300
commitc3ecea5a1deb70fe06706086c5d631e5c49dc43e (patch)
tree84212ebfb335c8e4a47f58157f0848ce0206f621
parentsrc/: Move logerr* functions to src/logerr.{c,h}; forward tarballs_fd to src/... (diff)
downloadgistatic-c3ecea5a1deb70fe06706086c5d631e5c49dc43e.tar.gz
gistatic-c3ecea5a1deb70fe06706086c5d631e5c49dc43e.tar.xz
public/makefile.svg: Start generating it with makefile2graph and graphviz
Diffstat (limited to '')
-rw-r--r--Makefile6
-rw-r--r--aux/guix/manifest.scm2
-rw-r--r--tests/resources/repositories/repo-1/.gitdir/indexbin217 -> 198 bytes
-rw-r--r--tests/resources/repositories/repo-2/.gitdir/indexbin137 -> 118 bytes
4 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cb23193..29663ca 100644
--- a/Makefile
+++ b/Makefile
@@ -131,7 +131,11 @@ CHANGELOG.en.md: CHANGELOG.md
l10n-gen: README.en.md CHANGELOG.en.md $(manpages.en.in)
sh aux/workflow/l10n.sh -l '$(TRANSLATIONS)' -L '$(CONTRIBLANGS)' $?
-public: l10n-gen TODOs.md $(manpages)
+public/makefile.svg: Makefile
+ mkdir -p $(@D)
+ makefile2graph check | dot -Tsvg > $@
+
+public: l10n-gen TODOs.md $(manpages) public/makefile.svg
sh aux/workflow/public.sh -l '$(TRANSLATIONS) $(CONTRIBLANGS) en' \
-n $(NAME) -m $(MAILING_LIST) -o public
sh doc/manpages.sh -Ho public $(manpages)
diff --git a/aux/guix/manifest.scm b/aux/guix/manifest.scm
index 3698645..f670fdd 100644
--- a/aux/guix/manifest.scm
+++ b/aux/guix/manifest.scm
@@ -10,6 +10,8 @@
git
gawk
make
+ makefile2graph
+ graphviz
shellcheck
pandoc
gettext
diff --git a/tests/resources/repositories/repo-1/.gitdir/index b/tests/resources/repositories/repo-1/.gitdir/index
index 2cf09be..da2283b 100644
--- a/tests/resources/repositories/repo-1/.gitdir/index
+++ b/tests/resources/repositories/repo-1/.gitdir/index
Binary files differ
diff --git a/tests/resources/repositories/repo-2/.gitdir/index b/tests/resources/repositories/repo-2/.gitdir/index
index 2ce5435..344e18d 100644
--- a/tests/resources/repositories/repo-2/.gitdir/index
+++ b/tests/resources/repositories/repo-2/.gitdir/index
Binary files differ