From: Oleg Broytman Date: Sat, 25 Feb 2006 13:27:46 +0000 (+0000) Subject: Makefile. X-Git-Url: https://git.phdru.name/?p=phdru.name%2Fphdru.name.git;a=commitdiff_plain;h=08d7fc4a2cff01a17a3ceed1bd57ad0b5bbcd6e2 Makefile. git-svn-id: file:///home/phd/archive/SVN/phdru.name/scripts@5 7bb0bf08-9e0d-0410-b083-99cee3bf18b8 --- 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)