aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-06-24 09:14:31 -0300
committerEuAndreh <eu@euandre.org>2021-06-25 11:56:53 -0300
commitf4deaf6bd66ed07cab897002c4cacd2e28027552 (patch)
tree81ccdcc409933ea00fa3c944d5fc0fab5e47231b /Makefile
parentaux/workflow/manpages.sh: Add missing suffix to HTML files (diff)
downloadgit-permalink-f4deaf6bd66ed07cab897002c4cacd2e28027552.tar.gz
git-permalink-f4deaf6bd66ed07cab897002c4cacd2e28027552.tar.xz
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 10 insertions, 5 deletions
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)