adds update-target to makefile
This commit is contained in:
parent
451d1e521a
commit
346bb00c59
1 changed files with 5 additions and 1 deletions
6
makefile
6
makefile
|
@ -1,4 +1,4 @@
|
|||
.PHONY: shell zsh tmux nvim foot sway swaylock mako tofi wlogout ncspot waybar
|
||||
.PHONY: shell zsh tmux nvim foot sway swaylock mako tofi wlogout ncspot waybar setup update install
|
||||
|
||||
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"
|
||||
|
@ -8,6 +8,10 @@ install: setup shell zsh tmux nvim foot sway swaylock mako tofi wlogout ncspot w
|
|||
setup:
|
||||
git submodule update --init
|
||||
|
||||
update:
|
||||
git pull
|
||||
git submodule update --remote
|
||||
|
||||
shell:
|
||||
stow -v -t /home/"$$USER"/ shell
|
||||
ln -s /home/"$$USER"/.config/shell/profile /home/"$$USER"/.zprofile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue