$(MAKE) html
-templates = $(shell find ../htdocs/phdru.name/public_html -type f -name \*.tmpl -print)
+templates = $(shell find ../htdocs/phdru.name -type f -name \*.tmpl -print)
htmls = $(patsubst %.tmpl,%.html,$(templates))
.PHONY: html
.PHONY: news
news: atom_10.py rss_20.py
- (umask 022; PYTHONPATH=. ./make-news.py en ../htdocs/phdru.name/public_html && ./make-news.py ru ../htdocs/phdru.name/public_html/Russian)
+ (umask 022; PYTHONPATH=. ./make-news.py en ../htdocs/phdru.name && ./make-news.py ru ../htdocs/phdru.name/Russian)
#! /bin/sh
-find ../htdocs/phdru.name/public_html -type f -name \*.tmpl -print0 |
+find ../htdocs/phdru.name -type f -name \*.tmpl -print0 |
xargs -r0 ./make-files
#! /bin/sh
-find ../htdocs/phdru.name/public_html -type f -name \*.tmpl -print |
+find ../htdocs/phdru.name -type f -name \*.tmpl -print |
./make-changed.py | xargs -r ./make-files
#! /bin/sh
-find ../htdocs/phdru.name/public_html -type f -name \*.tmpl -mtime -1 -print0 |
+find ../htdocs/phdru.name -type f -name \*.tmpl -mtime -1 -print0 |
xargs -r0 ./make-files
return '<a href="%s">%s</a>' % (url, url)
-full_dirs = len(os.getcwd().split('/')) + 2
+full_dirs = len(os.getcwd().split('/')) + 1
class phd(Template):
def __init__(self, *args, **kw):
LC_TIME=ru_RU.KOI8-R
export LC_TIME
-cd ../htdocs/phdru.name/public_html &&
-exec ../../../phdru.name/reindex_blog.py ../../../phdru.name/ru Russian/blog
+cd ../htdocs/phdru.name &&
+exec ../../phdru.name/reindex_blog.py ../../phdru.name/ru Russian/blog
#! /bin/sh
-cd ../htdocs/phdru.name &&
-exec distribute -d public_html
+cd ../htdocs &&
+exec distribute -d phdru.name