[med-svn] [lagan] 02/08: add debian/watch and get-orig-source target in rules
Andreas Tille
tille at debian.org
Sat Dec 9 18:16:25 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository lagan.
commit 4da437b2bf7ea769b514b5d348c5336523baa348
Author: Thorsten Alteholz <alteholz at debian.org>
Date: Sun Jul 7 17:20:39 2013 +0000
add debian/watch and get-orig-source target in rules
---
debian/changelog | 2 +-
debian/rules | 4 ++++
debian/watch | 8 ++++++++
3 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index a9bf8a0..6f7422f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-lagan (2.0-1) unstable; urgency=low
+lagan (2.0-1) UNRELEASED; urgency=low
* Initial release
diff --git a/debian/rules b/debian/rules
index 6055261..4859fcd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,3 +4,7 @@
%:
dh $@
+
+get-orig-source:
+ mkdir -p ../tarballs
+ uscan --verbose --force-download --destdir=../tarballs
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..5ec7260
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,8 @@
+version=3
+
+# normally this would be something like:
+# echo 20 |sed 's/\(.\)/\1\./g;s/.$//'
+# but somehow this does not work here
+
+opts=uversionmangle=s/2/2\./\
+ http://lagan.stanford.edu/lagan_web/citing.shtml lagan(.*)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/lagan.git
More information about the debian-med-commit
mailing list