3 # This file is a part of phdru.name homepage/blog/news generator scripts.
5 # __author__ = "Oleg Broytman <phd@phdru.name>"
6 # __copyright__ = "Copyright (C) 2006-2012 PhiloSoft Design"
10 umask 022; cheetah compile --nobackup $< && compyle $@
13 umask 022; PYTHONPATH=. cheetah fill --nobackup --stdout $< | iconv -f utf-8 > $@
29 blog: phd_site.py atom_10.py rss_20.py
34 templates = $(shell find ../htdocs/phdru.name/public_html -type f -name \*.tmpl -print)
35 htmls = $(patsubst %.tmpl,%.html,$(templates))
38 html: phd_site.py $(htmls)
42 news: atom_10.py rss_20.py
43 (umask 022; PYTHONPATH=. ./make-news.py en ../htdocs/phdru.name/public_html && ./make-news.py ru ../htdocs/phdru.name/public_html/Russian)