Add changelog to .deb

This commit is contained in:
HungryHobo
2010-11-09 21:34:44 +00:00
parent e9af7406c6
commit 5d9a7b9452

5
debian/rules vendored
View File

@@ -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