diff options
author | EuAndreh <eu@euandre.org> | 2022-01-19 09:54:55 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-01-19 09:56:29 -0300 |
commit | a6a2b08ee21e1c415bce3442c0954a82e7249e01 (patch) | |
tree | 32ef74e30d27cfa6fbf5e3ed798294512cd8c3c8 /Makefile | |
parent | aux/containers/guix/manifest.scm: Add jq (diff) | |
download | package-repository-a6a2b08ee21e1c415bce3442c0954a82e7249e01.tar.gz package-repository-a6a2b08ee21e1c415bce3442c0954a82e7249e01.tar.xz |
Setup basic translation infrastructure
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 20 |
1 files changed, 17 insertions, 3 deletions
@@ -1,6 +1,9 @@ .POSIX: NAME = package-repository +NAME_UC = EuAndreh's package repository MAILING_LIST = public-inbox +TRANSLATIONS = pt fr eo es +CONTRIBLANGS = guix-sources = \ src/xyz/euandreh/queue.scm \ @@ -26,7 +29,8 @@ dev-check: check sh aux/workflow/assert-readme.sh -n $(NAME) -m $(MAILING_LIST) clean: - rm -rf public/ + rm -rf \ + public/ README.*.md CHANGELOG.*.md messages.mo public/dependencies.svg: dependencies.dot mkdir -p public @@ -36,6 +40,16 @@ public/paku.html: paku.json mkdir -p public sh scripts/paku -l -public: README.md TODOs.md public/dependencies.svg public/paku.html - sh aux/workflow/public.sh -N "EuAndreh's package repository" -n $(NAME) -m $(MAILING_LIST) -o public +README.en.md: README.md + ln -fs $? $@ + +CHANGELOG.en.md: CHANGELOG.md + ln -fs $? $@ + +l10n-gen: README.en.md CHANGELOG.en.md + sh aux/workflow/l10n.sh -l '$(TRANSLATIONS)' -L '$(CONTRIBLANGS)' $? + +public: l10n-gen all TODOs.md public/dependencies.svg public/paku.html + sh aux/workflow/public.sh -l '$(TRANSLATIONS) $(CONTRIBLANGS) en' \ + -N "$(NAME_UC)" -n $(NAME) -m $(MAILING_LIST) -o public cp EuAndreh.key public/ |