From f7a59c7609f9a179d36c65eee6a6a42264ccf579 Mon Sep 17 00:00:00 2001 From: xesc Date: Sun, 10 Dec 2023 20:24:43 +0100 Subject: [PATCH] updates makefile to work correctly --- makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/makefile b/makefile index 236bbb1..2284457 100644 --- a/makefile +++ b/makefile @@ -3,7 +3,10 @@ help: @echo "\nWelcome to my configs, feel free to use and modify them as you like! \n\nTo install all of them to your system, just '$$ make install'.\nIf you just want some of them, use '$$ make ' for a specific application.\nFor a dry-run of any of the targets, just prepend '-dry' to the targets name.\nNote: This management relies on GNU Stow, so to work properly, please ensure you have 'stow' installed...\n\nYou don't want to use a config anymore? Prepend '-uninstall' to any config installed via the 'install'-command from earlier.\n\nTo much stuff you don't need?\n\t\tCheck out 'https://git.xesc.de/xesc'\nfor the individual repos of the applicatons.\n" -all: shell zsh tmux nvim foot sway swaylock mako tofi wlogout ncspot waybar +install: setup shell zsh tmux nvim foot sway swaylock mako tofi wlogout ncspot waybar + +setup: + git submodule update --init shell: stow -v -t /home/"$$USER"/ shell @@ -43,7 +46,7 @@ waybar: stow -v -t /home/"$$USER"/ waybar -all-dry: shell-dry zsh-dry tmux-dry nvim-dry foot-dry sway-dry swaylock-dry mako-dry tofi-dry wlogout-dry ncspot-dry waybar-dry +install-dry: shell-dry zsh-dry tmux-dry nvim-dry foot-dry sway-dry swaylock-dry mako-dry tofi-dry wlogout-dry ncspot-dry waybar-dry shell-dry: stow -n -v -t /home/"$$USER"/ shell @@ -81,7 +84,7 @@ ncspot-dry: waybar-dry: stow -n -v -t /home/"$$USER"/ waybar -all-uninstall: shell-uninstall zsh-uninstall tmux-uninstall nvim-uninstall foot-uninstall sway-uninstall swaylock-uninstall mako-uninstall tofi-uninstall wlogout-uninstall ncspot-uninstall waybar-uninstall +install-uninstall: shell-uninstall zsh-uninstall tmux-uninstall nvim-uninstall foot-uninstall sway-uninstall swaylock-uninstall mako-uninstall tofi-uninstall wlogout-uninstall ncspot-uninstall waybar-uninstall shell-uninstall: stow -D -v -t /home/"$$USER"/ shell