diff options
author | Loïc Hoguin <[email protected]> | 2016-01-09 16:25:09 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2016-01-09 16:25:09 +0100 |
commit | 1981748cb1c89d039470ff612b3caf9d4c48f112 (patch) | |
tree | 94e98437d907dd1dcb9599035d088712eee25a29 | |
parent | 3c99a562c8b6c0370af38f5cdf585787f99978fa (diff) | |
download | erlang.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.
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |