commit 6886b55c173472c02e454d523351d91401595def
parent abf2947ede9d8c4d93f528d829f1dc5828b920bd
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date: Wed, 16 Oct 2024 10:14:19 +0200
fix: split makefile into update and install tasks
Diffstat:
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
@@ -1,9 +1,12 @@
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-FileCopyrightText: 2023-2024 JayVii <jayvii[AT]posteo[DOT]de>
-install:
+update:
mkdir -p ~/.local/bin/
- cp -r bin/* ~/.local/bin/
- echo 'PATH=$PATH:$HOME/.local/bin'
+ install -m 770 bin/* ~/.local/bin/
+
+install:
+ echo 'PATH+=:~/.local/bin' >> ~/.bashrc
cat helix_config.toml >> ~/.config/helix/config.toml
cat tmux.conf >> ~/.tmux.conf
+ make update