57 lines
846 B
Makefile
57 lines
846 B
Makefile
usage:
|
|
@echo ""
|
|
@echo "usage:"
|
|
@echo ""
|
|
@echo "* make install -- to install dotfiles"
|
|
@echo "* make reinstall -- to reinstall & prune obsolete symlinks"
|
|
@echo "* make delete -- to delete dotfiles"
|
|
@echo "* make update -- get latest version from gitlab"
|
|
@echo ""
|
|
|
|
install:
|
|
mkdir -p ~/.config
|
|
|
|
stow git
|
|
stow gnupg
|
|
stow imapfilter
|
|
stow mbsync
|
|
stow msmtp
|
|
stow mutt
|
|
stow notmuch
|
|
stow nvim
|
|
stow tmux
|
|
stow fish
|
|
|
|
reinstall:
|
|
|
|
stow -R git
|
|
stow -R gnupg
|
|
stow -R imapfilter
|
|
stow -R mbsync
|
|
stow -R msmtp
|
|
stow -R mutt
|
|
stow -R notmuch
|
|
stow -R nvim
|
|
stow -R tmux
|
|
stow -R fish
|
|
|
|
delete:
|
|
|
|
stow -D git
|
|
stow -D gnupg
|
|
stow -D imapfilter
|
|
stow -D mbsync
|
|
stow -D msmtp
|
|
stow -D mutt
|
|
stow -D notmuch
|
|
stow -D nvim
|
|
stow -D tmux
|
|
stow -D fish
|
|
|
|
update:
|
|
|
|
git pull --verbose
|
|
git submodule update --init --recursive
|
|
|
|
all:
|
|
usage
|