summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorFabien Tassin <fta@sofaraway.org>2007-12-16 19:57:30 +0100
committerFabien Tassin <fta@sofaraway.org>2007-12-16 19:57:30 +0100
commitc235ea34fa0e8bffa00e2571e8774d207159dbf7 (patch)
tree11b95f5916f7e59aff3079f17d1b31938cab5338 /debian/rules
parente8dce08f2fa8a4d0683b1b3d7811107625f6cc53 (diff)
* Rename package from mozclient to mozilla-devscripts
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules9
1 files changed, 4 insertions, 5 deletions
diff --git a/debian/rules b/debian/rules
index 52873db..34bdfd7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,7 +17,10 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
# 02111-1307 USA.
-DEB_SOURCE_PACKAGE = mozclient
+DEB_SOURCE_PACKAGE := $(shell dpkg-parsechangelog | sed -n 's/^Source: *\(.*\)$$/\1/ p')
+DEB_VERSION := $(shell dpkg-parsechangelog | sed -n 's/^Version: *\(.*\)$$/\1/ p')
+DEB_ISNATIVE := 1
+
DEB_INDEP_PACKAGES = $(DEB_SOURCE_PACKAGE)
DEB_ARCH_PACKAGES = $(NULL)
@@ -31,7 +34,3 @@ DEB_MAKE_CHECK_TARGET := $(NULL)
DEB_INSTALL_CHANGELOGS_ALL := Changelog.txt
DEB_INSTALL_DOCS_ALL := README
-
-DEB_VERSION := $(shell dpkg-parsechangelog | sed -n 's/^Version: *\(.*\)$$/\1/ p')
-DEB_UPSTREAM_VERSION := $(shell echo $(DEBIAN_VERSION) | sed 's/^\(.*\)-[^-]*$$/\1/')
-DEB_ISNATIVE := 1