author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Wed, 12 Nov 2008 10:39:35 +0200 | |
changeset 90 | d8f7debc2371 |
parent 86 | 0cf1b0216dac |
child 96 | 1c9a7ccc584a |
permissions | -rw-r--r-- |
# Copyright (C) 2008 by Oleksandr Gavenko <gavenkoa@gmail.com> ifeq '' '$(HOME)' $(error Home env var not set!) endif .PHONY: all install install-all all: install install: .emacs .emacs-my if [ ! -f $$HOME/.emacs ]; then \ cp .emacs $$HOME/.emacs; \ fi cp .emacs-my $$HOME/.emacs-my install-all: .emacs .emacs-my for file in $^; do \ cp $$file $(HOME)/$$file; \ done dist-tar: tar cf dot-emacs.tar .emacs .emacs-my clean: rm -f dot-emacs.tar