[Pkg-wmaker-commits] [wmsun] 51/73: debian/rules: Add get-orig-source target.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Fri Aug 28 12:04:47 UTC 2015


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

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

commit 11a9faefd82513f524ccb0762c0366a2276537cd
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Mon Jun 15 07:20:32 2015 -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 094546a..b121ac8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -45,3 +45,10 @@ binary-arch: build
 	dh_builddeb
 
 .PHONY: clean binary-indep binary-arch binary
+
+get-orig-source:
+	uscan --verbose --force-download --no-symlink
+	@if test -e ../wmsun-*.download ; then \
+		rename -f -v "s/wmsun-(.+)\.download/wmsun_\1\.orig\.tar\.gz/" \
+			../wmsun-*.download; \
+	fi

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



More information about the Pkg-wmaker-commits mailing list