The following commit has been merged in the master branch:
commit bfad541fdad78e9e568640db2b8371c2adebb864
Author: Dmitry E. Oboukhov <[email protected]>
Date:   Tue Jun 14 11:46:24 2011 +0400

    tarball target

diff --git a/debian/rules b/debian/rules
index b092bdd..ea379ca 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,16 @@
 #!/usr/bin/make -f
 
+PACKAGE_VERSION        := $(shell              \
+               dpkg-parsechangelog             \
+       |       grep ^Version                   \
+       |       awk '{print $$2}'               \
+       |       sed 's/-[[:digit:]]\+$$//'      \
+)
 include /usr/share/cdbs/1/rules/debhelper.mk
 
+tarball:
+       cd .. && tar \
+               --exclude=debian \
+               --exclude=.git \
+               -czvf frogatto-data_$(PACKAGE_VERSION).orig.tar.gz \
+               frogatto-data-$(PACKAGE_VERSION)

-- 
2D platformer game starring a quixotic frog

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

Reply via email to