summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index eba3977..bc29e82 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,17 @@
1WEB_ROOT=/srv/www/crute.org/mike/htdocs 1WEB_ROOT=/srv/www/crute.org/mike/htdocs
2 2
3site: 3site: build-site sync
4css: build-css sync
5
6build-site:
4 ventriloquy/metabuild.py 7 ventriloquy/metabuild.py
8
9sync:
5 rsync -auvz rendered/ $(WEB_ROOT) 10 rsync -auvz rendered/ $(WEB_ROOT)
6 chgrp -R www-data $(WEB_ROOT) 11 chgrp -R www-data $(WEB_ROOT)
7 chmod -R g+r $(WEB_ROOT) 12 chmod -R g+r $(WEB_ROOT)
8 find $(WEB_ROOT) -type d -exec chmod g+x {} \; 13 find $(WEB_ROOT) -type d -exec chmod g+x {} \;
9 14
10css: 15build-css:
11 python page_source/downloads/cmpcss page_source/resources/site.css > page_source/resources/site-min.css 16 python downloads/cmpcss resources/site.css > resources/site-min.css
17 cp resources/site-min.css rendered/resources/site-min.css