[autocomplete] 12/13: - added get-orig-source target

Benjamin Mesing ben at alioth.debian.org
Mon Oct 21 19:10:27 UTC 2013


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

ben pushed a commit to branch master
in repository autocomplete.

commit 096071776ff5a1e06f3989e674114178ad1476a1
Author: Benjamin Mesing <bensmail at gmx.net>
Date:   Mon Oct 21 20:32:00 2013 +0200

    - added get-orig-source target
---
 debian/TODOs |    1 -
 debian/rules |    5 +++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/TODOs b/debian/TODOs
index dd0f893..e69de29 100644
--- a/debian/TODOs
+++ b/debian/TODOs
@@ -1 +0,0 @@
-- check license information
diff --git a/debian/rules b/debian/rules
index a4bffa8..0433c3f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,8 +8,9 @@ VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p')
 	dh $@ --with javahelper --with jh_maven_repo_helper 
 
 get-orig-source:
-	# maybe reimplement this using git
-	#uscan --download-version $(VERSION) --force-download
+	git clone https://github.com/bobbylight/AutoComplete.git 
+	( cd AutoComplete ; git archive -9 --prefix=autocomplete-$(VERSION)/ -o autocomplete_$(VERSION).orig.tar.gz $(VERSION) )
+	rm -rf AutoComplete
 
 get-orig-pom:
 	wget -O debian/pom.xml    http://repo1.maven.org/maven2/com/fifesoft/autocomplete/$(VERSION)/autocomplete-$(VERSION).pom

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



More information about the pkg-java-commits mailing list