From 88fd10e4081a721880a5bfe3e143cee8a2e82ddf Mon Sep 17 00:00:00 2001 From: Mike Crute Date: Sun, 6 Jun 2010 21:51:32 -0400 Subject: Fixing make target for css. --- Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index eba3977..bc29e82 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,17 @@ WEB_ROOT=/srv/www/crute.org/mike/htdocs -site: +site: build-site sync +css: build-css sync + +build-site: ventriloquy/metabuild.py + +sync: rsync -auvz rendered/ $(WEB_ROOT) chgrp -R www-data $(WEB_ROOT) chmod -R g+r $(WEB_ROOT) find $(WEB_ROOT) -type d -exec chmod g+x {} \; -css: - python page_source/downloads/cmpcss page_source/resources/site.css > page_source/resources/site-min.css +build-css: + python downloads/cmpcss resources/site.css > resources/site-min.css + cp resources/site-min.css rendered/resources/site-min.css -- cgit v1.2.3