Koha/debian
Tomas Cohen Arazi b7cd95bcc9 Bug 10802: make Debian package install history.txt
While bug 8911 fixed a problem regarding history.txt, a proper fix for
packages was missing.
This patch does three things:

 - Adds docs/history.txt to debian/koha-common.docs so it gets installed.
 - Moves the line installing the release notes from debian/koha-common.install
   to debian/koha-common.docs.
 - Adds an override_dh_compress entry in debian/rules that excludes
   history.txt from the dh_compress routine [1]

To test:
 - Take a picture of how /usr/share/doc/koha-common looks.
 - Apply the patch and build a package.
 - Upgrade and/or install using your package.
 - Look for the contents of the /usr/share/doc/koha-common, it should
   look the same, but history.txt must be there.
 - More > About Koha > Koha Timeline should show the history lines.

[1] As 'man dh_compress' says, it is needed as every file considered for
    the doc dir that is plain text and is more than 4k size will be
    gzipped unless stated otherwise. We need it uncompressed for about.pl.

Sponsored-by: Universidad Nacional de Cordoba
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Mason James <mtj@kohaaloha.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-09-16 15:27:16 +00:00
..
docs Bug 9247 - Add two more usage examples to the manpage for koha-mysql 2013-08-28 13:43:00 +00:00
scripts Bug 8507: koha-create now supports using DOM indexing for bibs 2013-08-13 14:25:53 +00:00
source
templates Bug 8507: (follow-up) fix one reference to __ZEBRA_BIBLIOS_CFG__ 2013-08-13 14:27:51 +00:00
bd-to-depends
build-git-snapshot Bug 10018 - version update for 3.13 2013-04-16 08:13:51 -07:00
changelog Bug 9918 - Changelog updates for 3.12 2013-03-27 21:49:09 -04:00
compat
control Bug 10524 - dependency updates 2013-07-02 06:14:53 -07:00
control.in Bug 10367 - update the rules and control file for wheezy 2013-05-29 08:08:30 -07:00
copyright
koha-common.config Bug 10574 - mute the "upgrading from 3.2" message 2013-09-06 14:54:53 +00:00
koha-common.cron.d Bug 10379: silence zebra rebuild cron when no instances are enabled 2013-06-26 08:55:23 -07:00
koha-common.cron.daily
koha-common.cron.hourly
koha-common.dirs
koha-common.docs Bug 10802: make Debian package install history.txt 2013-09-16 15:27:16 +00:00
koha-common.init Bug 9250 - [SIGNED-OFF] provide commands to manage the SIP server 2013-05-01 22:03:13 -04:00
koha-common.install Bug 10802: make Debian package install history.txt 2013-09-16 15:27:16 +00:00
koha-common.logrotate
koha-common.postinst
koha-common.README.Debian
koha-common.templates
koha-post-install-setup
koha.apache-ports
koha.config
koha.dirs
koha.install
koha.postinst
koha.postrm
koha.prerm
koha.README.Debian
list-deps
README.build
rules Bug 10802: make Debian package install history.txt 2013-09-16 15:27:16 +00:00
unavailable.html
update-control

In order to build .deb packages, following debian packages need to be present
(installed): 
devscripts
pbuilder
dh-make
fakeroot

As root (or sudo) execute:
pbuilder create

Executing build-git-snapshot without any arguments will leave package and the
rest in some pbuilder dir, eg. /var/cache/pbuilder/result It is highly
recommended that --buildresult option is used.