Add some useful informations when using $EDITOR.
[gentoolkit.git] / trunk / src / echangelog / Makefile
1 # Copyright 2004 Karl Trygve Kalleberg <karltk@gentoo.org>
2 # Copyright 2004 Gentoo Technologies, Inc.
3 # Distributed under the terms of the GNU General Public License v2
4 #
5 # $Header$
6
7 include ../../makedefs.mak
8
9 .PHONY: all test
10
11 all:
12
13 test:
14         cd test; sh test.sh
15
16 dist:
17         mkdir -p ../../$(distdir)/src/echangelog/test/templates
18         cp Makefile AUTHORS README TODO ChangeLog echangelog echangelog.1 ../../$(distdir)/src/echangelog/
19         cp test/TEST.pm test/test.sh ../../$(distdir)/src/echangelog/test/
20         cp test/templates/test.patch test/templates/vcstest-0.0.1.ebuild ../../$(distdir)/src/echangelog/test/templates
21
22 install: all
23         install -m 0755 echangelog $(bindir)/
24         install -d $(docdir)/echangelog 
25         install -m 0644 AUTHORS README $(docdir)/echangelog/
26         install -m 0644 echangelog.1 $(mandir)/