Bug 4877 [ENH] [SIGNED-OFF] install generated man pages with build process
This uses the docbook source files to generate the man pages, and installs them to their correct location when the packages are being built. This will make it easier for people to write man pages, thereby ensuring that people join in keeping documentation up to date. Note: adds docbook-xsl and xsltproc to the dependencies. Note2: applies on top of Magnus' other patch on this ticket. Signed-off-by: Magnus Enger <magnus@enger.priv.no> Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
parent
95afdc957a
commit
9d3a8d9865
|
|
@ -79,7 +79,7 @@ Build-Depends: libcgi-session-driver-memcached-perl,
|
|||
libyaml-syck-perl,
|
||||
perl,
|
||||
perl-modules,
|
||||
debhelper (>= 7.0.50), gettext, python, python-debian
|
||||
debhelper (>= 7.0.50), gettext, python, python-debian, xsltproc, docbook-xsl
|
||||
|
||||
Package: koha-common
|
||||
Architecture: all
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ Standards-Version: 3.8.4
|
|||
# See debian/rules, the override_dh_gencontrol rules.
|
||||
# There are some exceptions.
|
||||
Build-Depends:__AUTODEPENDS__,
|
||||
debhelper (>= 7.0.50), gettext, python, python-debian
|
||||
debhelper (>= 7.0.50), gettext, python, python-debian, xsltproc, docbook-xsl
|
||||
|
||||
Package: koha-common
|
||||
Architecture: all
|
||||
|
|
|
|||
|
|
@ -28,4 +28,4 @@ debian/scripts/koha-start-zebra usr/sbin
|
|||
debian/scripts/koha-stop-zebra usr/sbin
|
||||
debian/scripts/koha-upgrade-schema usr/sbin
|
||||
debian/scripts/koha-upgrade-to-3.4 usr/sbin
|
||||
debian/scripts/*.8 usr/share/man/man8
|
||||
debian/tmp_docbook/*.8 usr/share/man/man8
|
||||
|
|
|
|||
|
|
@ -92,4 +92,7 @@ override_dh_auto_install:
|
|||
$(TMP)/usr/share/koha/opac/htdocs/opac-tmpl/prog/en/css/opac.css \
|
||||
$(TMP)/usr/share/koha/opac/htdocs/opac-tmpl/prog/en/css/sco.css \
|
||||
$(TMP)/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/css/staff-global*.css
|
||||
|
||||
mkdir -p $(TMP)/debian/tmp_docbook
|
||||
xsltproc --output $(TMP)/debian/tmp_docbook/ \
|
||||
/usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl \
|
||||
debian/docs/*.xml
|
||||
|
|
|
|||
Loading…
Reference in New Issue