From c3ecea5a1deb70fe06706086c5d631e5c49dc43e Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 23 Aug 2021 07:59:03 -0300 Subject: public/makefile.svg: Start generating it with makefile2graph and graphviz --- Makefile | 6 +++++- aux/guix/manifest.scm | 2 ++ tests/resources/repositories/repo-1/.gitdir/index | Bin 217 -> 198 bytes tests/resources/repositories/repo-2/.gitdir/index | Bin 137 -> 118 bytes 4 files changed, 7 insertions(+), 1 deletion(-) 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 Binary files a/tests/resources/repositories/repo-1/.gitdir/index and b/tests/resources/repositories/repo-1/.gitdir/index differ diff --git a/tests/resources/repositories/repo-2/.gitdir/index b/tests/resources/repositories/repo-2/.gitdir/index index 2ce5435..344e18d 100644 Binary files a/tests/resources/repositories/repo-2/.gitdir/index and b/tests/resources/repositories/repo-2/.gitdir/index differ -- cgit v1.2.3