X-Git-Url: https://pere.pagekite.me/gitweb/text-relativity-of-wrong-asimov.git/blobdiff_plain/b8788c2a3d775829a8020b25c9fd13999eb2e479..abbc88a542a06a50dbfb1d599bda61ac4164eee0:/Makefile diff --git a/Makefile b/Makefile index 736ae5f..5fcc20f 100644 --- a/Makefile +++ b/Makefile @@ -3,5 +3,11 @@ all: The_Relativity_of_Wrong.nb.txt The_Relativity_of_Wrong.pot: The_Relativity_of_Wrong.txt po4a-gettextize -f text -m The_Relativity_of_Wrong.txt > $@.new && mv $@.new $@ -The_Relativity_of_Wrong.nb.txt: The_Relativity_of_Wrong.nb.po +The_Relativity_of_Wrong.nb.po: The_Relativity_of_Wrong.pot + po4a --no-translations --msgmerge-opt --no-location po4a.cfg + +The_Relativity_of_Wrong.nb.txt: The_Relativity_of_Wrong.nb.po The_Relativity_of_Wrong.txt po4a --translate-only The_Relativity_of_Wrong.nb.txt po4a.cfg + +stats: + for f in *.po; do printf "$$f "; msgfmt --output /dev/null --statistics $$f; done