summary refs log tree commit diff
path: root/bin/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2018-04-03 12:54:48 -0400
committerJune McEnroe <programble@gmail.com>2018-04-03 12:54:48 -0400
commite9834a80ca32c65c8341558ce73c46ff5319e628 (patch)
treec82533852a3b00658cdb8813422abdc0c70bff5c /bin/Makefile
parentHighlight Special as Normal (diff)
downloadsrc-e9834a80ca32c65c8341558ce73c46ff5319e628.tar.gz
src-e9834a80ca32c65c8341558ce73c46ff5319e628.zip
Move home bins to ~/.local/bin
Also replaced ~/.cargo/bin with a symlink to ~/.local/bin to avoid
having to have that in $path as well.
Diffstat (limited to 'bin/Makefile')
-rw-r--r--bin/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/Makefile b/bin/Makefile
index e7c2712a..bbcc8c4b 100644
--- a/bin/Makefile
+++ b/bin/Makefile
@@ -41,7 +41,8 @@ clean:
 	rm -f tags *.o gfx/*.o $(ALL_BINS)
 
 link:
-	ln -s -f $(ALL_BINS:%=$(PWD)/%) ~/.bin
+	mkdir -p ~/.local/bin
+	ln -s -f $(ALL_BINS:%=$(PWD)/%) ~/.local/bin
 
 unlink:
-	rm -f $(ALL_BINS:%=~/.bin/%)
+	rm -f $(ALL_BINS:%=~/.local/bin/%)