aboutsummaryrefslogtreecommitdiff
blob: fa2b38d4465cf37a54798b223cf51a4af45cc864 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 2004 Karl Trygve Kalleberg <karltk@gentoo.org>
# Copyright 2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
#
# $Header$

include ../../makedefs.mak

.PHONY: all test

all:

test:
	cd test; sh test.sh

dist:
	mkdir -p ../../$(DISTDIR)/src/echangelog/test/templates
	cp Makefile AUTHORS README ChangeLog echangelog echangelog.1 ../../$(DISTDIR)/src/echangelog/
	cp test/TEST.pm test/test.sh ../../$(DISTDIR)/src/echangelog/test/
	cp test/templates/test.patch test/templates/vcstest-0.0.1.ebuild ../../$(DISTDIR)/src/echangelog/test/templates

install: all
	install -m 0755 echangelog $(BINDIR)/
	install -d $(DOCDIR)/echangelog
	install -m 0644 AUTHORS README $(DOCDIR)/echangelog/
	install -m 0644 echangelog.1 $(MAN1DIR)/