Makefile
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sun, 30 Aug 2009 12:34:16 +0300
changeset 0 2acea9e3c0ea
child 2 48e601bfbca6
permissions -rw-r--r--
init
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     1
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     2
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     3
ifeq '' '$(HOME)'
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     4
  $(error HOME env var and prefix var are not set!)
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     5
endif
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     6
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     7
.PHONY: all install uninstall clean distclean
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     8
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     9
install:
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    10
	install -m 440 .mailsign $(HOME)
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    11
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    12
uninstall:
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    13
	rm -f $(HOME)/.mailsign
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    14
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    15
clean:
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    16
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    17
distclean: clean
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    18