X-Git-Url: https://pere.pagekite.me/gitweb/text-relativity-of-wrong-asimov.git/blobdiff_plain/7a0a6bd08690e3efbb4ae1468c36ce8421f644df..15f8420b8eb1a41646e5fc8e7235a86882778d82:/Makefile diff --git a/Makefile b/Makefile index bad1d37..79aef30 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,14 @@ 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 $@ + po4a-gettextize -f text -m The_Relativity_of_Wrong.txt \ + -M UTF-8 -L UTF-8 --package-name "Relativitiy of Wrong" \ + | sed 's/CHARSET/UTF-8/' > $@.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: