From 2253ad13cc77cd51b080bc453811e7917cee7949 Mon Sep 17 00:00:00 2001 From: kytv <kytv@mail.i2p> Date: Sun, 15 Jan 2012 19:28:07 +0000 Subject: [PATCH] Use bzip2 to compress debian packages This mainly has an effect on the size of the javadocs package (i2p-doc shrinks to half of its present size when using bzip2). xz would give better compression, of course, but xz support isn't isn't available in the version of dpkg that ships with Lucid. All supported versions of Debian and Ubuntu support bzip2 in .debs, so this will only have the impact of giving us smaller javadoc packages. --- debian/rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/rules b/debian/rules index 34c804eefb..07a8ffe44a 100755 --- a/debian/rules +++ b/debian/rules @@ -101,5 +101,8 @@ override_dh_dhlibdeps: #override_dh_installinit: # dh_installinit -r +override_dh_builddeb: + dh_builddeb -- -Zbzip2 + get-orig-source: uscan --verbose --rename --destdir $(CURDIR)/.. --watchfile debian/watch --force-download -- GitLab