aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2016-01-09 16:25:09 +0100
committerLoïc Hoguin <[email protected]>2016-01-09 16:25:09 +0100
commit1981748cb1c89d039470ff612b3caf9d4c48f112 (patch)
tree94e98437d907dd1dcb9599035d088712eee25a29 /Makefile
parent3c99a562c8b6c0370af38f5cdf585787f99978fa (diff)
downloaderlang.mk-1981748cb1c89d039470ff612b3caf9d4c48f112.tar.gz
erlang.mk-1981748cb1c89d039470ff612b3caf9d4c48f112.tar.bz2
erlang.mk-1981748cb1c89d039470ff612b3caf9d4c48f112.zip
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
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 [email protected]: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