[Pkg-wmaker-commits] [wmifs] 41/118: debian/rules: Add get-orig-source target.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Thu Aug 27 02:37:50 UTC 2015


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

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

commit e4c37fa2b3546651ca90d157d26b4086301c965b
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Thu Oct 23 12:20:10 2014 -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 4d3aaab..11eb6fe 100755
--- a/debian/rules
+++ b/debian/rules
@@ -68,4 +68,11 @@ endif
 	chmod -R u+w,go=u-w debian/tmp
 	dpkg --build debian/tmp ..
 
+get-orig-source:
+	uscan --verbose --force-download --no-symlink
+	@if test -e ../wmifs-*.download ; then \
+		rename -fv "s/wmifs-(.+)\.download/wmifs_\1\.orig\.tar\.gz/" \
+			../wmifs-*.download; \
+	fi
+
 .PHONY: clean binary-indep binary-arch binary

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



More information about the Pkg-wmaker-commits mailing list