Commit 2382d551 authored by Dylan Aïssi's avatar Dylan Aïssi
Browse files

During build copy *.java files in SRC/ to avoid problem with jh_build

parent f27e07af
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
beagle (4.1~180127+dfsg-2) UNRELEASED; urgency=medium

  * During build copy *.java files in SRC/ to avoid problem with jh_build.

 -- Dylan Aïssi <bob.dybian@gmail.com>  Sun, 22 Apr 2018 00:23:59 +0200

beagle (4.1~180127+dfsg-1) unstable; urgency=medium

  [ Steffen Moeller ]

debian/clean

0 → 100644
+1 −0
Original line number Diff line number Diff line
SRC/
+4 −5
Original line number Diff line number Diff line
@@ -7,11 +7,10 @@ export CLASSPATH=/usr/share/java/htsjdk.jar
	dh $@ --with javahelper

override_jh_build:
	# This ugly thing below because jh_build search .java files in .pc folder so FTBFS...
	rm -rf $(CURDIR)/.pc/
	jh_build --javacopts="-source 1.8" --javadoc-opts="-source 1.8" --main="main.Main" beagle.jar $(CURDIR)
	jh_build --javacopts="-source 1.8" --javadoc-opts="-source 1.8" --main="vcf.Bref" bref.jar $(CURDIR)
	mkdir SRC/
	cp -t SRC/ -r beagleutil blbutil dag haplotype ibd main sample vcf
	jh_build --javacopts="-source 1.8" --javadoc-opts="-source 1.8" --main="main.Main" beagle.jar SRC/
	jh_build --javacopts="-source 1.8" --javadoc-opts="-source 1.8" --main="vcf.Bref" bref.jar SRC/

override_dh_installchangelogs:
	dh_installchangelogs debian/upstream.docs/release_notes