diff -Nru sacjava-1.3/debian/changelog sacjava-1.3/debian/changelog --- sacjava-1.3/debian/changelog 2012-06-19 20:44:15.000000000 +0000 +++ sacjava-1.3/debian/changelog 2012-06-25 08:14:21.000000000 +0000 @@ -1,3 +1,14 @@ +sacjava (1.3-6) unstable; urgency=low + + * Team upload. + * Skip javadoc compilation in build-arch target. + (Closes: #678905) + * Add missing call to mh_clean. + * Add versioned Build-Depends on dpkg-dev to ensure + build-arch is available. + + -- Niels Thykier Mon, 25 Jun 2012 10:14:19 +0200 + sacjava (1.3-5) unstable; urgency=low * Team upload. diff -Nru sacjava-1.3/debian/control sacjava-1.3/debian/control --- sacjava-1.3/debian/control 2012-06-19 20:38:48.000000000 +0000 +++ sacjava-1.3/debian/control 2012-06-25 08:01:26.000000000 +0000 @@ -2,7 +2,8 @@ Priority: optional Maintainer: Debian Java Maintainers Uploaders: Rene Engelhard -Build-Depends: debhelper (>= 8), default-jdk, gcj-native-helper, maven-repo-helper +Build-Depends: debhelper (>= 8), default-jdk, dpkg-dev (>= 1.16.2), + gcj-native-helper, maven-repo-helper Standards-Version: 3.9.2 Section: java Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/sacjava diff -Nru sacjava-1.3/debian/rules sacjava-1.3/debian/rules --- sacjava-1.3/debian/rules 2012-06-19 20:39:55.000000000 +0000 +++ sacjava-1.3/debian/rules 2012-06-25 08:11:43.000000000 +0000 @@ -10,30 +10,36 @@ build: build-arch build-indep build-arch: build-stamp -build-indep: build-stamp +build-indep: build-stamp build-indep-stamp + +build-indep-stamp: configure-stamp + if [ ! -d doc ]; then mkdir doc; fi + /usr/lib/jvm/default-java/bin/javadoc -source 1.5 -d doc `find org -name "*.java" | xargs` + + touch $@ + build-stamp: configure-stamp dh_testdir /usr/lib/jvm/default-java/bin/javac -source 1.5 -target 1.5 `find org -name "*.java" | xargs` /usr/lib/jvm/default-java/bin/jar cvf sac-1.3.jar `find org -name "*.class" | xargs` - if [ ! -d doc ]; then mkdir doc; fi - /usr/lib/jvm/default-java/bin/javadoc -source 1.5 -d doc `find org -name "*.java" | xargs` touch $@ clean: dh_testdir dh_testroot - rm -f build-stamp configure-stamp + rm -f build-stamp build-indep-stamp configure-stamp rm -f sac.jar sac-1.3.jar -find org -name "*.class" | xargs rm # remove this; will be rebuilt rm -rf doc + mh_clean dh_clean -install: build +install: build-stamp dh_testdir dh_testroot dh_prep @@ -42,7 +48,7 @@ mh_installpom -plibsac-java debian/pom.xml mh_installjar -plibsac-java -l debian/pom.xml sac-1.3.jar -binary-indep: build install +binary-indep: build-indep install dh_testdir dh_testroot dh_installchangelogs -i @@ -55,7 +61,7 @@ dh_md5sums -i dh_builddeb -i -binary-arch: build install +binary-arch: build-arch install dh_testdir dh_testroot dh_installchangelogs -s