update Makefile to manage translations
This commit is contained in:
parent
178913317c
commit
575ebddce6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue