[Pkg-wmaker-commits] [wmtv] 44/48: debian/rules: Add get-orig-source target.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Mon Feb 1 20:13:23 UTC 2016


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

dtorrance-guest pushed a commit to branch master
in repository wmtv.

commit b70c9587ebac012bb4e124a2a204a1ce645bda31
Author: Doug Torrance <dtorrance at piedmont.edu>
Date:   Mon Feb 1 07:15:33 2016 -0500

    debian/rules: Add get-orig-source target.
---
 debian/rules | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/debian/rules b/debian/rules
index 63844c9..d9f5190 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,3 +4,10 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 %:
 	dh $@ --with autoreconf
+
+get-orig-source:
+	uscan --verbose --force-download --no-symlink
+	@if test -e ../wmtv-*.download ; then \
+		rename -f -v "s/wmtv-(.+)\.download/wmtv_\1\.orig\.tar\.gz/" \
+			../wmtv-*.download; \
+	fi

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



More information about the Pkg-wmaker-commits mailing list