From 61c0683ebc4e5ae1f17daf078199ddcc315b4064 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Fri, 7 Oct 2016 09:50:13 +0200 Subject: Makefile: Redo grawity/code support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- Makefile | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e34f38a..333f25b 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,12 @@ install: -ln -sfn "$(PWD)/ssh" "$(HOME)/.ssh" -ln -sfn "$(PWD)/gnupg" "$(HOME)/.gnupg" -grawity-code: - -mkdir -p "$(HOME)"/misc/grawity - -git clone https://github.com/grawity/code "$(HOME)"/misc/grawity/code - -make -C code/ pklist +~/misc/grawity/: + -mkdir -p ~/misc/grawity + +~/misc/grawity/code: ~/misc/grawity/ + -git clone https://github.com/grawity/code ~/misc/grawity/code + +grawity-code: ~/misc/grawity/code + -cd ~/misc/grawity/code; git pull + -make -C ~/misc/grawity/code pklist -- cgit v1.2.3-54-g00ecf