Makefile 636 Bytes
Newer Older
Jørn Åne's avatar
Jørn Åne committed
1 2 3 4 5
prefix=~

dotfiles:

install: dotfiles
6 7 8 9
	install -m 0644 dot.tcshrc $(prefix)/.tcshrc
	install -m 0644 dot.bash_profile $(prefix)/.bash_profile
	install -m 0644 dot.bashrc $(prefix)/.bashrc
	install -m 0644 dot.zshenv $(prefix)/.zshenv
10
	mkdir -p $(prefix)/.config/fish
11 12 13 14 15 16 17 18
	install -m 0644 dot.config/fish/config.fish $(prefix)/.config/fish/config.fish

diff:
	diff dot.tcshrc $(prefix)/.tcshrc 2>/dev/null
	diff dot.bash_profile $(prefix)/.bash_profile 2>/dev/null
	diff dot.bashrc $(prefix)/.bashrc 2>/dev/null
	diff dot.zshenv $(prefix)/.zshenv 2>/dev/null
	diff dot.config/fish/config.fish $(prefix)/.config/fish/config.fish 2>/dev/null