diff options
author | EuAndreh <eu@euandre.org> | 2021-09-01 10:21:41 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-09-01 10:21:41 -0300 |
commit | 31a2923c93422c8d3e7e413b8e90d3a7873518b9 (patch) | |
tree | 4cd576ee91395493475488bb0e164abb5542a596 /Makefile | |
parent | Makefile: Add repocheck.sh to "dev-check" target, separate it from the canoni... (diff) | |
download | remembering-31a2923c93422c8d3e7e413b8e90d3a7873518b9.tar.gz remembering-31a2923c93422c8d3e7e413b8e90d3a7873518b9.tar.xz |
Makefile: Refactor personal workflow targets to include new translations flow
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 28 |
1 files changed, 21 insertions, 7 deletions
@@ -7,6 +7,7 @@ DATE = 2021-02-23 NAME = remembering MAILING_LIST = public-inbox TRANSLATIONS = pt fr eo +CONTRIBLANGS = .SUFFIXES: .in @@ -71,14 +72,27 @@ dev-check: check public sh aux/workflow/repocheck.sh dist: - sh aux/workflow/dist.sh -d '$(DATE)' -V '$(VERSION)' -n '$(NAME)' -m '$(MAILING_LIST)' + sh aux/workflow/dist.sh -d '$(DATE)' -V '$(VERSION)' \ + -n '$(NAME)' -m '$(MAILING_LIST)' -l10n-gen: - sh aux/workflow/l10n.sh -l '$(TRANSLATIONS)' $(manpages.en.in) +README.en.md: README.md + ln -fs $? $@ -public: l10n-gen all README.md TODOs.md CHANGELOG.md - sh aux/workflow/public.sh -n '$(NAME)' -m '$(MAILING_LIST)' -o public - sh aux/workflow/manpages.sh -Ho public $(manpages) +CHANGELOG.en.md: CHANGELOG.md + ln -fs $? $@ + +l10n-gen: README.en.md CHANGELOG.en.md $(manpages.en.in) + sh aux/workflow/l10n.sh -l '$(TRANSLATIONS)' -L '$(CONTRIBLANGS)' $? + +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_UC)' -n '$(NAME)' -m '$(MAILING_LIST)' -o public + sh doc/manpages.sh -Ho public $(manpages) spellcheck: public - aux/workflow/assert-spelling.sh -l '$(TRANSLATIONS) en' $$(find public -type f -name '*.html') + sh aux/workflow/assert-spelling.sh -l '$(TRANSLATIONS) en' \ + $$(find public -type f -name '*.html') |