[lombok] 07/13: add get-orig-source target to debian/rules

Hans-Christoph Steiner eighthave at moszumanska.debian.org
Tue Dec 15 13:16:27 UTC 2015


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

eighthave pushed a commit to branch master
in repository lombok.

commit c9896ea8d30d1f3a7483b9b5a289f04cfe5e7c86
Author: Hans-Christoph Steiner <hans at eds.org>
Date:   Tue Dec 15 13:27:43 2015 +0100

    add get-orig-source target to debian/rules
---
 debian/rules | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/debian/rules b/debian/rules
index df7f778..8cf007e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,3 +13,14 @@ override_dh_auto_clean:
 override_dh_auto_build:
 	echo lombok.version=$(DEB_VERSION_UPSTREAM) > debian/lombok.version.properties
 	ant -buildfile debian/build.xml -Dbasedir=`pwd` dist
+
+newtarball = new$(DEB_VERSION_UPSTREAM).tar.gz
+get-orig-source:
+	wget --continue -O $(newtarball) \
+		https://github.com/rzwitserloot/lombok/archive/v$(DEB_VERSION_UPSTREAM).tar.gz
+	mk-origtargz \
+		--rename \
+		--repack \
+		--exclude-file 'lombok*/website/*' \
+		--compression xz \
+		$(newtarball)

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



More information about the pkg-java-commits mailing list