From: Oleg Broytman Date: Sun, 17 Apr 2011 12:41:11 +0000 (+0000) Subject: Compile python to bytecode. Don't hide commands. X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=17bab8318f0a01cc4a60275f19a88c1f4d318f71;p=phdru.name%2Fphdru.name.git Compile python to bytecode. Don't hide commands. git-svn-id: file:///home/phd/archive/SVN/phdru.name/scripts@122 7bb0bf08-9e0d-0410-b083-99cee3bf18b8 --- diff --git a/Makefile b/Makefile index be27920..06c0cdb 100644 --- a/Makefile +++ b/Makefile @@ -2,20 +2,20 @@ # # This file is a part of phdru.name homepage/blog/news generator scripts. # Author: Oleg BroytMan . -# 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 " -# __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)