main.css, main.de.css, main.ru.css: increase transition width to accommodate 'Selbstv...
[enc-static.git] / Makefile
1 # get translated strings from images
2 # see description in the Makefile of the root directory of ESD
3
4 PO4A_FLAGS=-M utf-8 -f xml -o porefs=none \
5 --package-name emailselfdefense-svg --package-version $version
6
7 PO4A_TRANSLATE_FLAGS=-M utf-8 -f xhtml --keep 30
8
9 SRC=\
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)
25 LANG=cs
26
27 # default target
28 all: $(foreach l,$(LANG),$(foreach f,$(SRC),svg/$l/$f)) gnupg-infographic-cs.svg
29
30 # recipes for the individual pages in each language
31 # Czech
32 svg/cs/%.svg: esd-svg-cs.po $(foreach f,$(SRC),svg/en/$f)
33 po4a-translate $(PO4A_TRANSLATE_FLAGS) -m svg/en/$*.svg -p $< -l $@
34
35 gnupg-infographic-cs.svg: esd-svg-cs.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 $<