aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-06-25 09:37:57 +0200
committerLoïc Hoguin <[email protected]>2018-06-25 09:37:57 +0200
commit1f39e8414846ea752f83bedfb15a7652db9c46b7 (patch)
tree27f3baaab89dcf0af7d67c7f88ce1e4193dc1134 /Makefile
parent381523ed68d284f2474c8beba05e899e4897acec (diff)
downloaderlang.mk-1f39e8414846ea752f83bedfb15a7652db9c46b7.tar.gz
erlang.mk-1f39e8414846ea752f83bedfb15a7652db9c46b7.tar.bz2
erlang.mk-1f39e8414846ea752f83bedfb15a7652db9c46b7.zip
Update Relx
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ddd7842..1aede8a 100644
--- a/Makefile
+++ b/Makefile
@@ -84,6 +84,20 @@ up:
cd gh-pages && git push origin gh-pages
rm -rf gh-pages
+ifdef file
+up-relx:
+ git clone [email protected]:ninenines/erlang.mk.git gh-pages
+ cd gh-pages && git checkout gh-pages
+ cp $(file) gh-pages/res/
+ cd gh-pages && git add .
+ cd gh-pages && git commit -m "Publish new Relx version"
+ cd gh-pages && git push origin gh-pages
+ rm -rf gh-pages
+else
+up-relx:
+ @echo Missing parameter: url
+endif
+
ifdef p
XDG_DATA_HOME ?= $(HOME)/.local/share
INSTALL_DIR ?= $(XDG_DATA_HOME)/erlang.mk/lib