aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoridl0r <idl0r@gentoo.org>2009-05-05 03:44:22 +0000
committeridl0r <idl0r@gentoo.org>2009-05-05 03:44:22 +0000
commit11d70c9d4dc410cd885c5199d0b2d8253007e953 (patch)
tree5303d8ad64f12a8052249f23152319a023b3aaf3
parentWarn if $vcs has not been found. Minor cleanup. (diff)
downloadgentoolkit-11d70c9d4dc410cd885c5199d0b2d8253007e953.tar.gz
gentoolkit-11d70c9d4dc410cd885c5199d0b2d8253007e953.tar.bz2
gentoolkit-11d70c9d4dc410cd885c5199d0b2d8253007e953.zip
Added test targets for echangelog.
svn path=/; revision=586
-rw-r--r--trunk/Makefile3
-rw-r--r--trunk/src/echangelog/Makefile5
2 files changed, 7 insertions, 1 deletions
diff --git a/trunk/Makefile b/trunk/Makefile
index 704a6d3..834b050 100644
--- a/trunk/Makefile
+++ b/trunk/Makefile
@@ -16,6 +16,9 @@ all:
echo $(sbindir)
echo $(mandir)
+test:
+ make -C src/echangelog test
+
clean:
rm -rf release/*
diff --git a/trunk/src/echangelog/Makefile b/trunk/src/echangelog/Makefile
index d65f836..4825683 100644
--- a/trunk/src/echangelog/Makefile
+++ b/trunk/src/echangelog/Makefile
@@ -6,10 +6,13 @@
include ../../makedefs.mak
-.PHONY: all
+.PHONY: all test
all:
+test:
+ cd test; sh test.sh
+
dist:
mkdir -p ../../$(distdir)/src/echangelog/test/templates
cp Makefile AUTHORS README TODO ChangeLog echangelog echangelog.1 ../../$(distdir)/src/echangelog/