X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=Makefile;h=9a402a61433761163e71636170883c15c777ba6b;hb=b1faa0c3970917d72b16947dc18249ebafec695d;hp=def5c6ca184f757537f7087859943154fb7962f9;hpb=e4d529b9ee404a8ee0e4b7b1ddc2bcf338b4efcd;p=phdru.name%2Fphdru.name.git diff --git a/Makefile b/Makefile index def5c6c..9a402a6 100644 --- a/Makefile +++ b/Makefile @@ -11,10 +11,10 @@ %.py: %.tmpl - umask 022; python2.7 `which cheetah` compile --encoding=koi8-r --settings='encoding="koi8-r"' --nobackup $< && compyle $@ && chmod +x $@ + umask 022; python3 -m Cheetah.CheetahWrapper compile --encoding=koi8-r --settings='encoding="koi8-r"' --nobackup $< && python3 -m compileall $@ && chmod +x $@ %.html: %.tmpl phd.py phd_site.py - umask 022; PYTHONPATH=. PYTHONIOENCODING=koi8-r:replace python2.7 `which cheetah` fill --encoding=koi8-r --settings='encoding="koi8-r"' --nobackup --stdout $< | iconv -c -f utf-8 -t koi8-r >$@ + umask 022; PYTHONPATH=. PYTHONIOENCODING=koi8-r:replace python3 -m Cheetah.CheetahWrapper fill --encoding=koi8-r --settings='encoding="koi8-r"' --nobackup $< .PHONY: fast