From 22411a7fc27afdd4e78a1c09c784f717e0bc248f Mon Sep 17 00:00:00 2001 From: Yan Wang Date: Wed, 25 Sep 2013 17:03:46 +0000 Subject: [PATCH] updated the make file so that we can update gh-pages branch conveniently --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 84c86b6..d5f1056 100644 --- a/Makefile +++ b/Makefile @@ -72,6 +72,10 @@ publish: cp -ar $(OUTPUTDIR)/* $(WEBDIR)/; \ fi +pages: publish + git checkout gh-pages; \ + cp -ar $(WEBDIR)/* . + ssh_upload: publish scp -P $(SSH_PORT) -r $(OUTPUTDIR)/* $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)