Update Makefile to provide additional options
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
8f0b2fb93e
commit
6e152774dd
1 changed files with 40 additions and 12 deletions
52
Makefile
52
Makefile
|
@ -1,26 +1,54 @@
|
|||
all:
|
||||
usage:
|
||||
@echo ""
|
||||
@echo "usage:"
|
||||
@echo ""
|
||||
@echo "* make dotfiles -- to install dotfiles"
|
||||
@echo "* make clean -- to clean up dotfiles"
|
||||
@echo "* make update -- get latest version from github, install manually"
|
||||
@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 ""
|
||||
|
||||
linux:
|
||||
install:
|
||||
mkdir -p ~/.config
|
||||
|
||||
stow gitconfig
|
||||
stow git
|
||||
stow gnupg
|
||||
stow imapfilter
|
||||
stow mbsyncrc
|
||||
stow msmtprc
|
||||
stow mbsync
|
||||
stow msmtp
|
||||
stow mutt
|
||||
stow notmuch-config
|
||||
stow notmuch
|
||||
stow nvim
|
||||
stow tmux
|
||||
|
||||
update:
|
||||
git pull --verbose
|
||||
reinstall:
|
||||
|
||||
.PHONY : all dotfiles clean
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue