From f4deaf6bd66ed07cab897002c4cacd2e28027552 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 24 Jun 2021 09:14:31 -0300 Subject: aux/workflow/assert-spelling.sh: Add; init dictionaries; fix spelling - aux/workflow/l10n.sh: fix handling of $@; - Makefile: remove circular dependency between dev-check and public by adding the "l10n-gen" target. --- Makefile | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c98364b..5eb9649 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ TRANSLATIONS = pt fr eo manpages.en.in = \ doc/git-permalink.en.1.in \ -manpages.in = $(manpages.en.in) \ +manpages.in = $(manpages.en.in) \ doc/git-permalink.pt.1.in \ doc/git-permalink.fr.1.in \ doc/git-permalink.eo.1.in @@ -30,12 +30,11 @@ check: all sh tests/install-uninstall.sh sh tests/remotes.sh -dev-check: check +dev-check: check public sh aux/assert-shellcheck.sh sh aux/workflow/assert-todos.sh sh aux/workflow/assert-changelog.sh $(NAME) $(NAME) sh aux/workflow/assert-readme.sh $(NAME) $(MAILING_LIST) - sh aux/workflow/l10n.sh -l '$(TRANSLATIONS)' $(manpages.en.in) sh aux/workflow/assert-manpages.sh $(NAME) $(MAILING_LIST) install: all @@ -51,9 +50,15 @@ uninstall: clean: rm -rf public/ src/git-permalink.sh $(manpages) -dist: +dist: clean public dev-check sh aux/workflow/dist.sh $(DATE) $(VERSION) $(NAME) $(NAME) $(MAILING_LIST) -public: README.md TODOs.md CHANGELOG.md $(manpages) +spellcheck: + sh aux/workflow/assert-spelling.sh -l '$(TRANSLATIONS) en' + +l10n-gen: + sh aux/workflow/l10n.sh -l '$(TRANSLATIONS)' $(manpages.en.in) + +public: l10n-gen all README.md TODOs.md CHANGELOG.md sh aux/workflow/public.sh $(NAME) $(NAME) $(MAILING_LIST) public sh aux/workflow/manpages.sh -Ho public $(manpages) -- cgit v1.2.3