[sacjava] 27/28: Add get-orig-source target

Jakub Adam xhaakon-guest at moszumanska.debian.org
Sat Aug 22 11:41:20 UTC 2015


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

xhaakon-guest pushed a commit to branch master
in repository sacjava.

commit fcd56b90f66e5219a8fe41414e5b69b3857fcedd
Author: Jakub Adam <jakub.adam at ktknet.cz>
Date:   Mon Aug 3 11:18:54 2015 +0200

    Add get-orig-source target
---
 debian/changelog |  1 +
 debian/copyright |  2 ++
 debian/rules     | 10 +++++++++-
 3 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index e107050..dcb93a1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ sacjava (1.3+dfsg-1) UNRELEASED; urgency=medium
   * Bump Standards-Version to 3.9.6
   * Fix needless-dependency-on-jre Lintian warning
   * Convert d/copyright into machine-readable format
+  * Add get-orig-source target
 
  -- Jakub Adam <jakub.adam at ktknet.cz>  Mon, 03 Aug 2015 09:59:06 +0200
 
diff --git a/debian/copyright b/debian/copyright
index cdda7d4..e34f77e 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,5 +1,7 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Source: http://www.w3.org/Style/CSS/SAC/
+Files-Excluded: sac.jar
+ doc/*
 
 Files: *
 Copyright: 2002, World Wide Web Consortium
diff --git a/debian/rules b/debian/rules
index 7128cab..e04b961 100755
--- a/debian/rules
+++ b/debian/rules
@@ -79,4 +79,12 @@ binary-arch: build-arch install
 	dh_builddeb -s
 
 binary: binary-indep binary-arch
-.PHONY: build build-arch build-indep clean binary-indep binary-arch binary install configure
+
+VERSION=$(shell dpkg-parsechangelog -S Version | tr '+' '-' | cut -d- -f1)
+get-orig-source:
+	uscan --force-download --download-version $(VERSION) \
+		--rename --destdir=$(CURDIR) \
+		--repack --compression xz \
+		--verbose
+
+.PHONY: build build-arch build-indep clean binary-indep binary-arch binary install configure get-orig-source

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



More information about the pkg-java-commits mailing list