[openjdk-8] 02/04: Unpack the sources before building

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue Apr 1 22:09:28 UTC 2014


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository openjdk-8.

commit aaf9ca083bd5aaad0abbaae42a520f3e7d42206a
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Tue Apr 1 23:10:47 2014 +0200

    Unpack the sources before building
---
 debian/rules | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/debian/rules b/debian/rules
index dac4301..1fe04b1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -839,6 +839,16 @@ endif
 unpack: stamps/unpack
 stamps/unpack:
 	mkdir -p stamps;
+
+ifneq (,$(filter $(DEB_HOST_ARCH),arm64))
+	echo "Extracting aarch64-port-jdk8-$(buildver).tar.xz..."
+	tar -xf aarch64-port-jdk8-$(buildver).tar.xz
+else
+	echo "Extracting jdk8-jdk8-$(buildver).tar.xz..."
+	tar -xf jdk8-jdk8-$(buildver).tar.xz
+endif
+	mv jdk8/* .
+	rm -Rf jdk8
 	
 	$(MAKE) -f debian/rules packaging-files
 	
@@ -1214,6 +1224,9 @@ clean: debian-clean unpatch
 	rm -rf bin
 	rm -f jtreg_output* xvfb-run.log
 	rm -f buildwatch.pid
+	rm -Rf ASSEMBLY_EXCEPTION LICENSE Makefile README README-builds.html \
+	       THIRD_PARTY_README bin build common configure corba get_source.sh \
+	       hotspot jaxp jaxws jdk jdk8 langtools make nashorn test .pc
 
 	dh_clean
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/openjdk-8.git



More information about the pkg-java-commits mailing list