The following commit has been merged in the master branch:
commit 40f032b6124047a3bd8a08ef2faf85d6650b2f2e
Author: Vincent Legout <[email protected]>
Date:   Thu Jun 9 20:04:18 2011 +0200

    Add get-orig-source and remove README.Debian-source

diff --git a/debian/README.Debian-source b/debian/README.Debian-source
deleted file mode 100644
index 603cd1e..0000000
--- a/debian/README.Debian-source
+++ /dev/null
@@ -1,11 +0,0 @@
-quarry for Debian
------------------
-
-How I created the .orig.tar.gz:
-
-tar xzf quarry_0.2.0.orig.tar.gz
-rm quarry-0.2.0/data/textures/wood1.jpg
-rm quarry-0.2.0/data/textures/wood2.jpg
-tar czf quarry_0.2.0.dfsg.1.orig.tar.gz quarry-0.2.0
-
- -- Bart Martens <[email protected]>  Tue, 21 Nov 2006 14:31:09 +0100
diff --git a/debian/changelog b/debian/changelog
index 79fbd83..cd75d49 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,7 @@ quarry (0.3.0.1-1) UNRELEASED; urgency=low
     - Build html documentation
   * debian/patches/03_install_authors.xml: Added
   * debian/watch: Removed, doesn't work with gitorious
+  * Add get-orig-source target in debian/rules and remove README.Debian-source
 
  -- Vincent Legout <[email protected]>  Thu, 09 Jun 2011 19:53:16 +0200
 
diff --git a/debian/rules b/debian/rules
index 281ff20..9aeeb0c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,3 +13,14 @@ override_dh_auto_build:
        rm -f po/ru.gmo && msgfmt -c -o po/ru.gmo po/ru.po
        cd help && make html && cd ..
        dh_auto_build
+
+version = 0.3.0.1
+
+get-orig-source:
+       git clone git://gitorious.org/quarry/quarry.git
+       cd quarry && \
+               git checkout -b v$(version) $(version) && \
+               echo "data/textures/wood1.jpg export-ignore" >> .gitattributes 
&& \
+               echo "data/textures/wood2.jpg export-ignore" >> .gitattributes 
&& \
+               git archive --worktree-attributes --format=tar 
--prefix=quarry-$(version)/ v$(version) | gzip > 
../quarry_$(version).orig.tar.gz
+       rm -rf quarry

-- 
Packaging for quarry

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to