From 7c4a973d60018c64fe1d7aa4d5ec66bcda26f722 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 8 Mar 2006 15:00:18 +0000 Subject: [PATCH] Compile phd_pp_ru.tmpl if it's newer than phd_pp_ru.py. git-svn-id: file:///home/phd/archive/SVN/phdru.name/scripts@19 7bb0bf08-9e0d-0410-b083-99cee3bf18b8 --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2625341..0d4e3e0 100644 --- a/Makefile +++ b/Makefile @@ -8,8 +8,11 @@ phd.pp.ru: blog html blog: ./reindex_blog_ru +phd_pp_ru.py: phd_pp_ru.tmpl + @(umask 022; cheetah compile --nobackup $<) + templates = $(shell find ../htdocs/phd.pp.ru -type f -name \*.tmpl -print) htmls = $(patsubst %.tmpl,%.html,$(templates)) .PHONY: html -html: $(htmls) +html: phd_pp.py phd_pp_ru.py $(htmls) -- 2.39.5