[Pkg-jed-commit] r576 - jed/trunk/debian
Rafael Laboissiere
rafael at debian.org
Sun Feb 25 20:39:01 CET 2007
* Jörg Sommer <jo-guest at alioth.debian.org> [2007-02-25 17:21]:
> Author: jo-guest
> Date: 2007-02-25 17:21:22 +0100 (Sun, 25 Feb 2007)
> New Revision: 576
>
> Modified:
> jed/trunk/debian/rules
> Log:
> ??? rules
> · Now, as we dropped the info files from the source package, we must (and
> can) generate them (or a newer version) from jed.tex with hevea.
>
>
> Modified: jed/trunk/debian/rules
> ===================================================================
> --- jed/trunk/debian/rules 2007-02-25 16:21:10 UTC (rev 575)
> +++ jed/trunk/debian/rules 2007-02-25 16:21:22 UTC (rev 576)
> @@ -81,8 +81,16 @@
> debian/init.d/README.Debian-startup \
> debian/Debian-Jed-Policy.txt
>
> + # generate info files from jed.tex
> + rmdir $(jed-common)/usr/share/jed/info
> + mkdir -p $(jed-common)/usr/share/info
> + hevea -fix -info -o $(jed-common)/usr/share/info/jed.info \
> + $(jed-common)/usr/share/doc/jed-common/manual/jed.tex
> +
Thanks for resurrecting the info files. I appreciate this.
However, there are some problems:
1) The command in debian/rules:
rmdir $(jed-common)/usr/share/jed/info
fails because the debian/jed-common directory is celanned by dh_clean
2) According to the Policy (section 12.2) the info files must be installed
in /usr/share/info (not in /usr/share/jed/info as above). Besides, the
prerm script of jed-common must call "install-info --remove". The
debhelper way of complying with those issues is by using dh_installinfo.
However, hevea does not add the mandatory INFO-DIR-SECTION and
INFO-DIR-ENTRY sections to the jed.info file. Unfortunately, it is not
possible to tell dh_installinfo to pass options --section and
--description to install-info. I am afraid we will have to do everything
by hand.
3) The info file generated by hevea has no "Top" node. Trying to run "info
-f jed.info" on it fails.
--
Rafael
More information about the Pkg-jed-devel
mailing list