From 1981748cb1c89d039470ff612b3caf9d4c48f112 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sat, 9 Jan 2016 16:25:09 +0100 Subject: Add a command to update the Erlang.mk guide online "make up" will be how it's done from now on, rather than the more manual method I was using until now. I am fully aware that this command fetches the erlang.mk repo twice. But it works, and honestly fetching the repo isn't too expensive or long so that will do. --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1e838d2..dd437e2 100644 --- a/Makefile +++ b/Makefile @@ -61,3 +61,10 @@ clean: docs: $(MAKE) -f core/core.mk -f core/docs.mk -f plugins/asciidoc.mk asciidoc + +up: + git clone git@github.com:ninenines/erlang.mk.git gh-pages + cd gh-pages && git checkout gh-pages + cd gh-pages && make + cd gh-pages && git push origin gh-pages + rm -rf gh-pages -- cgit v1.2.3