Put the changelog and copyright files in the correct location
This commit is contained in:
@@ -22,10 +22,15 @@ cp -R $rootdir/usr root
|
|||||||
rm root/usr/share/openra/FreeSans.ttf
|
rm root/usr/share/openra/FreeSans.ttf
|
||||||
rm root/usr/share/openra/FreeSansBold.ttf
|
rm root/usr/share/openra/FreeSansBold.ttf
|
||||||
|
|
||||||
# Create the control and changelog files from templates
|
# Put the copyright and changelog in /usr/share/doc/openra/
|
||||||
|
mkdir -p root/usr/share/doc/openra/
|
||||||
|
cp copyright root/usr/share/doc/openra/copyright
|
||||||
|
sed "s/{VERSION}/$VERSION/" changelog > root/usr/share/doc/openra/changelog
|
||||||
|
cat ./root/usr/share/openra/CHANGELOG >> root/usr/share/doc/openra/changelog
|
||||||
|
|
||||||
|
# Create the control file
|
||||||
sed "s/{VERSION}/$VERSION/" DEBIAN/control | sed "s/{SIZE}/$PACKAGE_SIZE/" > root/DEBIAN/control
|
sed "s/{VERSION}/$VERSION/" DEBIAN/control | sed "s/{SIZE}/$PACKAGE_SIZE/" > root/DEBIAN/control
|
||||||
sed "s/{VERSION}/$VERSION/" DEBIAN/changelog > root/DEBIAN/changelog
|
|
||||||
cat ./root/usr/share/openra/CHANGELOG >> root/DEBIAN/changelog
|
|
||||||
# Build it in the temp directory, but place the finished deb in our starting directory
|
# Build it in the temp directory, but place the finished deb in our starting directory
|
||||||
pushd root
|
pushd root
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
Copyright 2007-2011 The OpenRA Developers (see /usr/share/openra/AUTHORS)
|
Copyright 2007-2011 The OpenRA Developers (see /usr/share/openra/AUTHORS)
|
||||||
|
|
||||||
OpenRA is free software. It is made available to you under the terms of
|
OpenRA is free software. It is made available to you under the terms of
|
||||||
the GNU General Public License as published by the Free Software Foundation.
|
the GNU General Public License as published by the Free Software Foundation
|
||||||
On Debian systems, the complete text of the GNU General Public License
|
On Debian systems, the complete text of the GNU General Public License
|
||||||
version 3 can be found in /usr/share/common-licenses/GPL-3
|
version 3 can be found in /usr/share/common-licenses/GPL-3
|
||||||
Reference in New Issue
Block a user