[Pkg-wmaker-commits] [wmitime] 121/127: debian/rules: Add get-orig-source target.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Sat Aug 22 01:34:46 UTC 2015


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

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

commit 7fbb76d88d01483859d391b9a58c8415998ef037
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Sat Dec 20 21:15:39 2014 -0600

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

diff --git a/debian/rules b/debian/rules
index 84bf5ec..445b3e5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,3 +5,10 @@
 
 override_dh_auto_build:
 	dh_auto_build -- FLAGS="$(CFLAGS) $(CPPFLAGS) $(LDFLAGS)"
+
+get-orig-source:
+	uscan --verbose --force-download --no-symlink
+	@if test -e ../wmitime-*.download ; then \
+		rename -f -v "s/wmitime-(.+)\.download/wmitime_\1\.orig\.tar\.gz/" \
+			../wmitime-*.download; \
+	fi

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



More information about the Pkg-wmaker-commits mailing list