Author: marcusb-guest
Date: 2006-09-07 18:58:35 +0000 (Thu, 07 Sep 2006)
New Revision: 2385

Modified:
   branches/xml-im-exporter/feature/debian/debian/rules
Log:
Invoke unit tests during build.


Modified: branches/xml-im-exporter/feature/debian/debian/rules
===================================================================
--- branches/xml-im-exporter/feature/debian/debian/rules        2006-09-07 
18:58:05 UTC (rev 2384)
+++ branches/xml-im-exporter/feature/debian/debian/rules        2006-09-07 
18:58:35 UTC (rev 2385)
@@ -4,7 +4,7 @@
 DEB_JARS_BASE  := /usr/share/java
 JAVACMD        := $(JAVA_HOME)/bin/java
 
-DEB_JARS  := ant ant-launcher
+DEB_JARS  := ant ant-launcher ant-junit junit
 
 DEB_CLASSPATH = $(shell for jar in $(DEB_JARS); do \
                if [ -f "$$jar" ]; then echo -n "$${jar}:"; fi; \
@@ -29,7 +29,7 @@
 build: build-stamp
 build-stamp: configure-stamp 
        dh_testdir
-       $(ANT_INVOKE) jar javadocs
+       $(ANT_INVOKE) jar javadocs test
        touch build-stamp
 
 clean:
@@ -49,6 +49,8 @@
        dh_installdocs
        mv $(INSTALLDIR)/usr/share/doc/$(PKGNAME)/index.html \
           $(INSTALLDIR)/usr/share/doc/$(PKGNAME)/README.html
+       mv $(INSTALLDIR)-doc/usr/share/doc/$(PKGNAME)-doc/javadoc \
+          $(INSTALLDIR)-doc/usr/share/doc/$(PKGNAME)-doc/api
        dh_installexamples
        dh_installman
        dh_link


_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-commits

Reply via email to