[openjk] 05/15: debian/rules: add convenience "maintainer-get-orig-source" target

Simon McVittie smcv at debian.org
Wed Oct 7 07:36:18 UTC 2015


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

smcv pushed a commit to branch master
in repository openjk.

commit b648e6d0217242eff3e8b33c2b8c4f6e5a4c9441
Author: Simon McVittie <smcv at debian.org>
Date:   Sat Aug 1 21:04:12 2015 +0100

    debian/rules: add convenience "maintainer-get-orig-source" target
---
 debian/changelog | 1 +
 debian/rules     | 6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 6117b75..4992490 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ openjk (0~20150731+dfsg1-1) UNRELEASED; urgency=medium
   * New upstream snapshot
   * Drop patch to avoid direct libX11 dependency, no longer needed
     with CMake 3.2
+  * debian/rules: add convenience "maintainer-get-orig-source" target
 
  -- Simon McVittie <smcv at debian.org>  Mon, 27 Jul 2015 23:12:50 +0100
 
diff --git a/debian/rules b/debian/rules
index 2b41bee..0b6c91e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -188,3 +188,9 @@ get-orig-source:
 	tar --xz -cvf openjk_${ORIG_VER}.orig.tar.xz openjk-${ORIG_VER}.orig
 	rm -rf openjk-${ORIG_VER}.orig
 	rm -rf openjk-${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 openjk_${ORIG_VER}.orig.tar.xz ..

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



More information about the Pkg-games-commits mailing list