]> pere.pagekite.me Git - text-relativity-of-wrong-asimov.git/blob - Makefile
Clearer language.
[text-relativity-of-wrong-asimov.git] / Makefile
1 all: The_Relativity_of_Wrong.nb.txt
2
3 The_Relativity_of_Wrong.pot: The_Relativity_of_Wrong.txt
4 po4a-gettextize -f text -m The_Relativity_of_Wrong.txt \
5 -M UTF-8 -L UTF-8 --package-name "Relativitiy of Wrong" \
6 | sed 's/CHARSET/UTF-8/' > $@.new && mv $@.new $@
7
8 The_Relativity_of_Wrong.nb.po: The_Relativity_of_Wrong.pot
9 po4a --no-translations --msgmerge-opt --no-location po4a.cfg
10
11 The_Relativity_of_Wrong.nb.txt: The_Relativity_of_Wrong.nb.po The_Relativity_of_Wrong.txt
12 po4a --translate-only The_Relativity_of_Wrong.nb.txt po4a.cfg
13
14 stats:
15 for f in *.po; do printf "$$f "; msgfmt --output /dev/null --statistics $$f; done