From 08d7fc4a2cff01a17a3ceed1bd57ad0b5bbcd6e2 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 25 Feb 2006 13:27:46 +0000 Subject: [PATCH] Makefile. git-svn-id: file:///home/phd/archive/SVN/phdru.name/scripts@5 7bb0bf08-9e0d-0410-b083-99cee3bf18b8 --- Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..4bce2f4 --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +%.html: %.tmpl + (umask 022; PYTHONPATH=.; export PYTHONPATH; cheetah fill --nobackup $<) + +.PHONY: phd.pp.ru +phd.pp.ru: blog html + +.PHONY: blog +blog: + ./reindex_blog_ru + +templates = $(shell find ../htdocs/phd.pp.ru -type f -name \*.tmpl -print) +htmls = $(patsubst %.tmpl,%.html,$(templates)) + +.PHONY: html +html: $(htmls) -- 2.39.5