X-Git-Url: https://git.phdru.name/?p=phdru.name%2Fphdru.name.git;a=blobdiff_plain;f=make-files;h=5c736eaab2ee41b82d45b6d96c48727b2ebf3857;hp=31a7b651335913ead0cbe26beb78172e514de7fd;hb=5f0a5a57cec7afdde0944c806ccbd67bfdfa2759;hpb=af2e193af1a1a95983839beb0fad3d76ab96e4c6 diff --git a/make-files b/make-files index 31a7b65..5c736ea 100755 --- a/make-files +++ b/make-files @@ -5,7 +5,7 @@ PYTHONPATH=. PYTHONIOENCODING=koi8-r:replace export PYTHONPATH PYTHONIOENCODING -if [ phd_site.tmpl -nt phd_site.py ]; then +if [ \! -e phd_site.py -o phd_site.tmpl -nt phd_site.py ]; then cheetah compile --encoding=koi8-r --settings='encoding="koi8-r"' --nobackup phd_site.tmpl && compyle phd_site.py fi &&