2013-04-27 08:51:39 +00:00
|
|
|
FILES = bashrc vimrc zshrc emacs.el gitconfig screenrc commonshrc \
|
|
|
|
gnomerc gvimrc
|
2008-03-16 21:02:24 +00:00
|
|
|
|
2011-07-28 20:05:16 +00:00
|
|
|
.PHONY: all install clean check
|
|
|
|
|
2013-04-27 08:51:39 +00:00
|
|
|
all: $(FILES)
|
2011-07-28 20:05:16 +00:00
|
|
|
|
2013-04-27 08:51:39 +00:00
|
|
|
install: $(FILES)
|
2011-07-28 23:40:10 +00:00
|
|
|
mkdir -p ~/.ssh
|
2011-07-28 20:05:16 +00:00
|
|
|
for i in $(FILES); do install -m0644 $$i ~/.$$i; done
|
|
|
|
|
|
|
|
clean:
|
|
|
|
|
2013-04-27 08:51:39 +00:00
|
|
|
check: $(FILES)
|
|
|
|
for i in $(FILES); do diff -u ~/.$$i $$i; done
|
2011-07-28 20:05:16 +00:00
|
|
|
|
|
|
|
%: %.m4
|
|
|
|
m4 $< >$@
|