[Pkg-mozext-commits] [SCM] UNNAMED PROJECT branch, upstream, updated. upstream/1.3.0.2+dfsg-21-g19af840
Michael Meskes
meskes at debian.org
Tue Aug 9 15:47:55 UTC 2011
The following commit has been merged in the upstream branch:
commit f0c363e74b08ad888daca7c6678352c6617aa662
Author: Michael Meskes <meskes at debian.org>
Date: Wed Apr 27 13:15:23 2011 +0200
Added target to create dfsg orig tarball.
diff --git a/debian/rules b/debian/rules
index ea04846..03d2911 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,15 @@
# cleaning up the extra license file (FlashGot_License.txt) using latest xpi.mk's features
MOZ_XPI_DOCUMENTED_LICENSE_FILES := FlashGot_License.txt
+upstreamversion := $(shell dpkg-parsechangelog | sed -n 's/^Version: *\([^-]\+\)-.\+/\1/p')
+
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/mozilla-devscripts/xpi.mk
+#Build the orig.tar.gz
+dfsg-free: clean
+ zip -d chrome/flashgot.jar content/flashgot/FlashGot.exe
+ cd ..; mv $(CURDIR) flashgot-$(upstreamversion); \
+ tar --exclude debian -czf flashgot_$(upstreamversion).orig.tar.gz flashgot-$(upstreamversion)
+
+
--
UNNAMED PROJECT
More information about the Pkg-mozext-commits
mailing list