From e05121e618d19083c3626cf53cf74a2232d4c2da Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 21 May 2024 19:34:27 +0300 Subject: [PATCH] Fix(Makefile): All generated files depend on `phd.py` --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 5064363..f390912 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 phd_site.py +%.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 >$@ @@ -30,7 +30,7 @@ phdru.name: blog news .PHONY: blog -blog: phd_site.py atom_10.py rss_20.py +blog: phd.py phd_site.py atom_10.py rss_20.py ./reindex_blog_ru $(MAKE) html @@ -40,7 +40,7 @@ templates = $(shell find ../htdocs/phdru.name -type f -name \*.tmpl -print) htmls = $(patsubst %.tmpl,%.html,$(templates)) .PHONY: html -html: phd_site.py $(htmls) special-templates sitemap +html: phd.py phd_site.py $(htmls) special-templates sitemap .PHONY: news -- 2.39.2