X-Git-Url: https://git.phdru.name/?p=phdru.name%2Fphdru.name.git;a=blobdiff_plain;f=Makefile;h=6cd9e82736246ed8d4bae6658d467ac2e229ee4d;hp=862279fa93403fcf52dfcc39d2b579ee0f8de67b;hb=HEAD;hpb=2ae3f01f6f508494e1d8cc10d1f29f7c43101053 diff --git a/Makefile b/Makefile index 862279f..5064363 100644 --- a/Makefile +++ b/Makefile @@ -11,10 +11,10 @@ %.py: %.tmpl - umask 022; cheetah compile --encoding=koi8-r --settings='encoding="koi8-r"' --nobackup $< && compyle $@ && chmod +x $@ + umask 022; python2.7 `which 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 -c -f utf-8 -t koi8-r >$@ +%.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 >$@ .PHONY: fast @@ -53,7 +53,7 @@ SITEMAP = ../htdocs/phdru.name/sitemap.xml .PHONY: sitemap sitemap: $(SITEMAP) -$(SITEMAP): $(allfiles) +$(SITEMAP): $(allfiles) sitemaps/phdru.name-config.xml sitemap_gen.py --config=sitemaps/phdru.name-config.xml