aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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