[Pkg-wmaker-commits] [wmtop] 09/11: debian/rules: Add get-orig-source target.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Tue Feb 9 01:54:01 UTC 2016


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

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

commit dc8bf2185aa1d38874020e1133bbb8ceea65d6fe
Author: Doug Torrance <dtorrance at piedmont.edu>
Date:   Mon Feb 8 20:12:03 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 dd9063b..f7156d8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,3 +2,10 @@
 
 %:
 	dh $@ --with autoreconf
+
+get-orig-source:
+	uscan --verbose --force-download --no-symlink
+	@if test -e ../wmtop-*.download ; then \
+		rename -f -v "s/wmtop-(.+)\.download/wmtop_\1\.orig\.tar\.gz/" \
+			../wmtop-*.download; \
+	fi

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



More information about the Pkg-wmaker-commits mailing list