From 1f45bffea52a37591fa62c019d36bd0980e889f5 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 14 Jul 2021 00:36:19 +0300 Subject: [PATCH] Feat(Makefile): Update every html when `phd_site.tmpl` was changed --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 >$@ -- 2.39.5