update Makefile to manage translations

This commit is contained in:
Solene Rapenne 2022-03-21 21:37:42 +01:00
parent 178913317c
commit 575ebddce6
1 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,8 @@ TEMPDIR=/tmp/openbsd-webzine
generate-site: clean
ls | grep issue- | sort -n | xargs -n 1 tools/make_issue.sh
-ls | grep issue- | sort -n | xargs -n 1 env LN=de tools/make_issue.sh
-ls | grep issue- | sort -n | xargs -n 1 env LN=fr tools/make_issue.sh
tools/make_issue.sh _index ../public/index.html
cp -fr _static/* ../public/
tools/sitemap.sh webzine.puffy.cafe ../public/ > ../public/sitemap.xml
@ -27,6 +29,8 @@ test:
# only difference with generate-site is make_issue.sh -t
testsite: clean
ls | grep issue- | sort -n | xargs -n 1 tools/make_issue.sh -t
-ls | grep issue- | sort -n | xargs -n 1 env LN=de tools/make_issue.sh -t
-ls | grep issue- | sort -n | xargs -n 1 env LN=fr tools/make_issue.sh -t
tools/make_issue.sh _index ../public/index.html
cp -fr _static/* ../public/
tools/sitemap.sh webzine.puffy.cafe ../public/ > ../public/sitemap.xml