]> pere.pagekite.me Git - text-madewithcc.git/commitdiff
Always convert ODT to MD using LC_ALL=C.UTF-8 for well known result.
authorPetter Reinholdtsen <pere@hungry.com>
Sat, 9 Feb 2019 08:34:34 +0000 (08:34 +0000)
committerPetter Reinholdtsen <pere@hungry.com>
Sat, 9 Feb 2019 08:34:34 +0000 (08:34 +0000)
Makefile

index 7d1421d78cfdeed338b2fbdc532e9a2c7448cafe..46ddb4044f5d712b16bc72e6a4e28e516dfe075c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -49,8 +49,8 @@ clean:
 
 $(SOURCE).md: $(SOURCE).odt fixup.rb
        TEMP=`tempfile -p mwcc` && \
-       pandoc -f odt $(SOURCE).odt -t markdown > $$TEMP && \
-       ruby fixup.rb $$TEMP $(SOURCE).md && \
+       LC_ALL=C.UTF-8 pandoc -f odt $(SOURCE).odt -t markdown > $$TEMP && \
+       LC_ALL=C.UTF-8 ruby fixup.rb $$TEMP $(SOURCE).md && \
        rm $$TEMP
 
 pot: po/mwcc.pot po/*/mwcc.po