FILES = bashrc vimrc zshrc emacs.el gitconfig screenrc commonshrc \ gnomerc gvimrc .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 $< >$@