[SCM] Worms style game branch, master, updated. debian/0.9.16-1
Dmitry E. Oboukhov
unera at debian.org
Fri Sep 23 07:00:45 UTC 2011
The following commit has been merged in the master branch:
commit 36a813596de7d2692dc3c676d1345c753da5684b
Author: Dmitry E. Oboukhov <unera at debian.org>
Date: Fri Sep 23 10:24:46 2011 +0400
tarball target
diff --git a/debian/rules b/debian/rules
index 4779d23..4a43e23 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,11 @@ DEB_CMAKE_EXTRA_FLAGS := -DWITH_SERVER=1 \
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
+
+UPSTREAM_VERSION := $(shell dpkg-parsechangelog \
+ |grep ^Version|awk '{print $$2}'|sed 's/-[[:digit:]]\+$$//' \
+)
+
clean::
rm -fr tmp-icon stamp-icon
@@ -22,3 +27,11 @@ stamp-icon:
mkdir -p tmp-icon/$$dirname/apps; \
convert $$icon tmp-icon/$$dirname/apps/$$basename.png; \
done
+
+tarball:
+ cd .. && \
+ tar --exclude=debian \
+ --exclude=.git \
+ -czf hedgewars_$(UPSTREAM_VERSION).orig.tar.gz \
+ hedgewars-$(UPSTREAM_VERSION)
+
--
Worms style game
More information about the Pkg-games-commits
mailing list