From 5d9a7b94526335cae70075df8a8218a6fdb67150 Mon Sep 17 00:00:00 2001 From: HungryHobo Date: Tue, 9 Nov 2010 21:34:44 +0000 Subject: [PATCH] Add changelog to .deb --- debian/rules | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/debian/rules b/debian/rules index 9be700d77..e380e2ed1 100755 --- a/debian/rules +++ b/debian/rules @@ -24,6 +24,7 @@ build: rm debian/tmp/usr/lib/i2p/a touch debian/build mkdir -p debian/tmp/usr/share/doc/i2p + # Create the Debian copyright file, move the licenses dir, # and delete all license files that are already in /usr/share/common-licenses/ cat debian/copyright.part1 LICENSE.txt > debian/tmp/usr/share/doc/i2p/copyright @@ -33,6 +34,10 @@ build: rm debian/tmp/usr/share/doc/i2p/licenses/LICENSE-GPLv2.txt rm debian/tmp/usr/share/doc/i2p/licenses/LICENSE-LGPLv2.1.txt + # changelog + gzip -9c history.txt > debian/tmp/usr/share/doc/i2p/changelog.gz + gzip -9c debian/changelog > debian/tmp/usr/share/doc/i2p/changelog.Debian.gz + binary: build mkdir -p debian/tmp/DEBIAN dpkg-gencontrol