]> git.phdru.name Git - phdru.name/phdru.name.git/commitdiff
Compile python to bytecode. Don't hide commands.
authorOleg Broytman <phd@phdru.name>
Sun, 17 Apr 2011 12:41:11 +0000 (12:41 +0000)
committerOleg Broytman <phd@phdru.name>
Sun, 17 Apr 2011 12:41:11 +0000 (12:41 +0000)
git-svn-id: file:///home/phd/archive/SVN/phdru.name/scripts@122 7bb0bf08-9e0d-0410-b083-99cee3bf18b8

Makefile

index be2792032c23f5a4ad6cb93dd3469638d72adf51..06c0cdbc0f696395ff99d1294ed484ba7c8969df 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,20 +2,20 @@
 #
 # This file is a part of phdru.name homepage/blog/news generator scripts.
 # Author: Oleg BroytMan <phd@phdru.name>.
-# Copyright: (C) 2006-2010 PhiloSoft Design.
+# Copyright: (C) 2006-2011 PhiloSoft Design.
 
 # __version__ = "$Revision$"[11:-2]
 # __revision__ = "$Id$"
 # __date__ = "$Date$"[7:-2]
 # __author__ = "Oleg Broytman <phd@phdru.name>"
-# __copyright__ = "Copyright (C) 2006-2010 PhiloSoft Design"
+# __copyright__ = "Copyright (C) 2006-2011 PhiloSoft Design"
 
 
 %.py: %.tmpl
-       @(umask 022; cheetah compile --nobackup $<)
+       umask 022; cheetah compile --nobackup $< && compyle $@
 
 %.html: %.tmpl
-       @(umask 022; PYTHONPATH=. cheetah fill --nobackup $<)
+       umask 022; PYTHONPATH=. cheetah fill --nobackup $<
 
 
 .PHONY: phdru.name
@@ -24,12 +24,12 @@ phdru.name: phd_site.py news blog 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/public_html && ./make-news.py ru ../htdocs/phdru.name/public_html/Russian)
 
 
 .PHONY: blog
 blog: atom_10.py rss_20.py
-       @./reindex_blog_ru
+       ./reindex_blog_ru
 
 
 templates = $(shell find ../htdocs/phdru.name/public_html -type f -name \*.tmpl -print)