dotfiles/Makefile
Sanchayan Maity 6e152774dd Update Makefile to provide additional options
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-31 14:58:42 +05:30

55 lines
807 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
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
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
update:
git pull --verbose
git submodule update --init --recursive
all:
usage