~sanchayanmaity/dotfiles

ref: ed70d5a6308bca152a9d15f749cc4ee8fa1a05b4 dotfiles/Makefile -rw-r--r-- 858 bytes
ed70d5a6Sanchayan Maity nvim: Update packer 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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 imapfilter
	stow mbsync
	stow msmtp
	stow mutt
	stow notmuch
	stow nvim
	stow tmux
	stow fish
	stow alacritty

reinstall:

	stow -R git
	stow -R imapfilter
	stow -R mbsync
	stow -R msmtp
	stow -R mutt
	stow -R notmuch
	stow -R nvim
	stow -R tmux
	stow -R fish
	stow -R alacritty

delete:

	stow -D git
	stow -D imapfilter
	stow -D mbsync
	stow -D msmtp
	stow -D mutt
	stow -D notmuch
	stow -D nvim
	stow -D tmux
	stow -D fish
	stow -D alacritty

update:

	git pull --verbose
	git submodule update --init --recursive

all:
	usage