[iortcw] 02/17: rules: add maintainer-get-orig-source target

Simon McVittie smcv at debian.org
Sun Aug 16 19:35:11 UTC 2015


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

smcv pushed a commit to branch master
in repository iortcw.

commit 3bf37f3004bf921b4ae9cb510088e79ddc85583e
Author: Simon McVittie <smcv at debian.org>
Date:   Tue Jul 14 10:40:38 2015 +0100

    rules: add maintainer-get-orig-source target
    
    This is like get-orig-source, but with more assumptions about the
    right thing to do.
---
 debian/rules | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/debian/rules b/debian/rules
index e97f617..fef3ef0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -150,3 +150,9 @@ get-orig-source:
 	tar --xz -cvf iortcw_${ORIG_VER}.orig.tar.xz iortcw-${ORIG_VER}.orig
 	rm -rf iortcw-${ORIG_VER}.orig
 	rm -rf iortcw-${ORIG_VER}.git
+
+# to be invoked from a git checkout with upstream github as a remote;
+# tarball ends up in parent directory
+maintainer-get-orig-source:
+	$(MAKE) -f debian/rules get-orig-source ORIG_REPO=$$(pwd)/.git
+	mv -i -v iortcw_${ORIG_VER}.orig.tar.xz ..

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



More information about the Pkg-games-commits mailing list