[Pkg-wmaker-commits] [wmbattery] 165/241: debian/rules: Add get-orig-source target.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Mon Aug 24 23:37:55 UTC 2015


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

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

commit f183e4ca591a59175287078a887e11e46440543c
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Sun Sep 21 23:43:57 2014 -0500

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

diff --git a/debian/rules b/debian/rules
index bace6e8..a1354af 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,3 +1,11 @@
 #!/usr/bin/make -f
 %:
 	dh $@ --with autoreconf
+
+get-orig-source:
+	uscan --verbose --force-download
+	@if test -e ../wmbattery-*.download ; then \
+		rename -fv "s/wmbattery-(.+)\.download/wmbattery_\1\.orig\.tar\.gz/" \
+			../wmbattery-*.download; \
+	fi
+

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



More information about the Pkg-wmaker-commits mailing list