etc/Makefile
2013-11-01 15:14:58 +01:00

20 lines
407 B
Makefile

FILES = bashrc vimrc zshrc emacs.el gitconfig screenrc commonshrc \
gnomerc gvimrc muttrc
.PHONY: all install clean check
all: $(FILES)
install: $(FILES)
mkdir -p ~/.ssh ~/.vim/autoload
for i in $(FILES); do install -m0644 $$i ~/.$$i; done
install -m0644 vim-pathogen/autoload/pathogen.vim ~/.vim/autoload/
clean:
check: $(FILES)
for i in $(FILES); do diff -u ~/.$$i $$i; done
%: %.m4
m4 $< >$@