updates makefile to work correctly

This commit is contained in:
xesc 2023-12-10 20:24:43 +01:00
parent f05133bfe7
commit f7a59c7609

View file

@ -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 <directory_name>' 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