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