From 4fda4068e4b0eb5d6bc7c41f20a6db4c3a31d350 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9taireau?= Date: Tue, 7 May 2013 23:46:59 +1000 Subject: [PATCH] Change the makefile a bit --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 84e0d79..5a26867 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,10 @@ -build: - pelican -s pelican.conf.py content +nmi: + BLOG_URL="http://blog.notmyidea.org" BLOG_NAME="Alexis' log" pelican -s pelican.conf.py content --output blog +pyc: + BLOG_URL="http://alexis.notmyidea.org/pycon" BLOG_NAME="Pycon notes" pelican -s pelican.conf.py pycon --output pycon-output + +build: nmi pyc + upload: build rsync -e "ssh -p 22" -P -rvz --delete output/* alexis@172.19.2.119:/home/www/notmyidea.org/blog + rsync -e "ssh -p 22" -P -rvz --delete pycon/* alexis@172.19.2.119:/home/www/notmyidea.org/pycon-output