tr: synchronize with enc 79ddb32.
[enc-live.git] / static / Makefile
CommitLineData
8d01adfb
AE
1# get translated strings from images
2# see description in the Makefile of the root directory of ESD
3
4PO4A_FLAGS=-M utf-8 -f xml -o porefs=none \
5 --package-name emailselfdefense-svg --package-version $version
6
7PO4A_TRANSLATE_FLAGS=-M utf-8 -f xhtml --keep 30
8
9SRC=\
10 adele.svg\
11 elements.svg\
12 identity.svg\
13 section5-02-use-it-well.svg\
14 step1a-install-wizard.svg\
15 step1b-01-tools-addons.svg\
16 step1b-02-search.svg\
17 step1b-03-install.svg\
18 step2a-01-make-keypair.svg\
19 weboftrust.svg
20
21#esd-svg-temp.pot: $(foreach f,$(SRC),svg/en/$f) gnupg-infographic.svg
22# po4a-gettextize $(PO4A_FLAGS) $(foreach f,$+,-m $f) -p $@
23
24# list of languages that use the PO files (add yours if you migrate to PO)
25LANG=de
26
27# default target
28all: $(foreach l,$(LANG),$(foreach f,$(SRC),svg/$l/$f)) gnupg-infographic-$(LANG).svg
29
30# recipes for the individual pages in each language
31# Czech
32svg/$(LANG)/%.svg: esd-svg-$(LANG).po $(foreach f,$(SRC),svg/en/$f)
33 po4a-translate $(PO4A_TRANSLATE_FLAGS) -m svg/en/$*.svg -p $< -l $@
34
35gnupg-infographic-$(LANG).svg: esd-svg-$(LANG).po gnupg-infographic.svg
36 po4a-translate $(PO4A_TRANSLATE_FLAGS) -m gnupg-infographic.svg -p $< -l $@
37
38# gnupg-infographic.svg: gnupg-infographic.zip
39# unzip $<