Makefile
author gavenkoa@gavenko.bifit.int
Tue, 28 Oct 2008 15:04:29 +0200
changeset 83 d2eaf2ed6d1c
parent 45 d16182a9e7de
child 85 2bb7e6aceac9
child 93 99f967be941a
permissions -rw-r--r--
Added basic jabber customization.

# 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