]> git.phdru.name Git - phdru.name/phdru.name.git/blobdiff - Makefile
Fix: Ignore conversion errors in `iconv`
[phdru.name/phdru.name.git] / Makefile
index 3583e98035dd3f5dab58f8eb25e11dfd909a4564..de032c099cb343e6b2e558c153a45e3fe7161044 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@
        umask 022; cheetah compile --encoding=koi8-r --settings='encoding="koi8-r"' --nobackup $< && compyle $@ && chmod +x $@
 
 %.html: %.tmpl
-       umask 022; PYTHONPATH=. PYTHONIOENCODING=koi8-r:replace cheetah fill --encoding=koi8-r --settings='encoding="koi8-r"' --nobackup --stdout $< | iconv -f utf-8 -t koi8-r >$@
+       umask 022; PYTHONPATH=. PYTHONIOENCODING=koi8-r:replace cheetah fill --encoding=koi8-r --settings='encoding="koi8-r"' --nobackup --stdout $< | iconv -c -f utf-8 -t koi8-r >$@
 
 
 .PHONY: fast