aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2016-10-07 09:50:13 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2017-06-01 18:37:35 +0200
commit61c0683ebc4e5ae1f17daf078199ddcc315b4064 (patch)
treee25107f281300eafe96f754eea8b219a7ca14698
parenta07df1979ede714d7ffa57a5c026a9bb93a039d0 (diff)
downloaddotfiles-61c0683ebc4e5ae1f17daf078199ddcc315b4064.tar.xz
Makefile: Redo grawity/code support
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r--Makefile13
1 files changed, 9 insertions, 4 deletions
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