X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=Makefile;h=506436311a8e6ee7bc6640afbc953358f6a0bd3d;hb=0c0058d611f55ddae8c08726acb9952e5984f8da;hp=6cd9e82736246ed8d4bae6658d467ac2e229ee4d;hpb=405075a5b9603d5931754f3f349c7e141fa51f2c;p=phdru.name%2Fphdru.name.git diff --git a/Makefile b/Makefile index 6cd9e82..5064363 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 >$@ @@ -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