X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=Makefile;h=a243cd8a05016e54821e971f05171de6d0d4a635;hb=1f45bffea52a37591fa62c019d36bd0980e889f5;hp=6cd9e82736246ed8d4bae6658d467ac2e229ee4d;hpb=eb94065dedae915e75291ee6399ae9d24000c767;p=phdru.name%2Fphdru.name.git diff --git a/Makefile b/Makefile index 6cd9e82..a243cd8 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ %.py: %.tmpl umask 022; python2.7 `which cheetah` compile --encoding=koi8-r --settings='encoding="koi8-r"' --nobackup $< && compyle $@ && chmod +x $@ -%.html: %.tmpl +%.html: %.tmpl 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 >$@