Koha-clms/debian
Lars Wirzenius 2fcc4fe94e Add tools to update debian/control's build dependencies.
The canonical list of Perl module dependencies are in
C4::Installer::PerlDependencies::PERL_DEPS now. Add a script
(debian/list-deps) to turn that into a list of Debian package names.

Because that is a slow process, and the output rarely changes, do
not do that at build time. Also, doing it at build time would require
modifying debian/control in evil ways.

Instead, add another tool, debian/update-control, which reads the
new file debian/control.in, and adds the output of debian/list-deps to
Build-Depends and creates a new debian/control.

debian/control.in is the master file. If changes are needed, that should
be edited. For performance and convenience reasons, the output is also kept
in git, but don't edit debian/control directly, please. Such changes
might get lost by the next commit by someone else.

Whenever PERL_DEPS changes, debian/update-control should be run as well
and the result committed to git.

This is not quite as automatic as it might be, but should be good enough.
It avoids keeping the list of Perl modules in two places.

Note that since it seems impossible to automatically figure out the Debian
package version that corresponds to a Perl module version, I have not
tried to do that at all.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-06-02 07:14:36 -04:00
..
scripts Make koha-create be able to handle manual database creation. 2010-05-25 08:04:32 -04:00
source Switch to native source format. 2010-05-25 07:57:37 -04:00
templates Add support for a remote mysql server. 2010-05-25 08:04:32 -04:00
bd-to-depends Replace dependencies on koha-dev-env with list of packages. 2010-05-25 07:59:12 -04:00
build-git-snapshot Set upload target to squeeze-dev. 2010-05-26 08:28:24 -04:00
changelog Bug 4817: Point to README.Debian in koha package description, postinst output. 2010-05-27 05:19:03 -04:00
compat Replace old, non-functional Debian packaging with a new one. 2010-04-16 00:41:54 -04:00
control Add tools to update debian/control's build dependencies. 2010-06-02 07:14:36 -04:00
control.in Add tools to update debian/control's build dependencies. 2010-06-02 07:14:36 -04:00
copyright Convert debian/copyright file to the DEP5 format. 2010-05-25 07:58:26 -04:00
koha-common.README.Debian Update README.Debian for koha-common with post-install setup. 2010-05-26 08:28:15 -04:00
koha-common.cron.d Add scripts to start, stop, restart Zebra, and rebuild its indexes. 2010-05-25 07:59:39 -04:00
koha-common.cron.hourly Add koha-foreach, a script to run a command for each Koha instance. 2010-05-25 07:59:45 -04:00
koha-common.dirs Split off koha-common. 2010-05-25 07:58:56 -04:00
koha-common.init Add scripts to start, stop, restart Zebra, and rebuild its indexes. 2010-05-25 07:59:39 -04:00
koha-common.install Install the admin scripts. 2010-05-25 08:04:32 -04:00
koha-common.logrotate Split off koha-common. 2010-05-25 07:58:56 -04:00
koha-common.postinst Add support for a remote mysql server. 2010-05-25 08:04:32 -04:00
koha-post-install-setup Add koha-post-install-setup, a script to be run by sysadmin post-install. 2010-05-25 07:59:19 -04:00
koha.README.Debian Update README.Debian for koha.deb package. 2010-05-26 08:28:11 -04:00
koha.apache-ports Replace old, non-functional Debian packaging with a new one. 2010-04-16 00:41:54 -04:00
koha.config Replace old, non-functional Debian packaging with a new one. 2010-04-16 00:41:54 -04:00
koha.dirs Replace old, non-functional Debian packaging with a new one. 2010-04-16 00:41:54 -04:00
koha.install Split off koha-common. 2010-05-25 07:58:56 -04:00
koha.postinst Bug 4817: Point to README.Debian in koha package description, postinst output. 2010-05-27 05:19:03 -04:00
koha.postrm When purging, remove /var/log/koha. 2010-04-22 06:15:31 -04:00
koha.prerm Replace old, non-functional Debian packaging with a new one. 2010-04-16 00:41:54 -04:00
list-deps Add tools to update debian/control's build dependencies. 2010-06-02 07:14:36 -04:00
rules Replace dependencies on koha-dev-env with list of packages. 2010-05-25 07:59:12 -04:00
unavailable.html Add koha-disable, a script to disable a Koha instance. 2010-05-25 07:59:29 -04:00
update-control Add tools to update debian/control's build dependencies. 2010-06-02 07:14:36 -04:00