[Pkg-jed-commit] r576 - jed/trunk/debian

Jörg Sommer joerg at alea.gnuu.de
Sun Feb 25 23:38:04 CET 2007


Hallo Rafael,

Rafael Laboissiere schrieb am Sun 25. Feb, 20:39 (+0100):
> * 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
> > +
> 
> 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

Not at me, because “make DESTDIR=$(jed-common) install” creates this
directory.

> 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).

I've installed the files into /u/s/info.

>    Besides, the prerm script of jed-common must call "install-info
>    --remove".

Oh, I forgot this. But we forgot also to remove the install-info
calls from postinst and prerm after removing the info files from the
archive.

> 3) The info file generated by hevea has no "Top" node.  Trying to run "info
>    -f jed.info" on it fails.

Ahh, the problem was a little bit different. hevea created references to
the subfiles with absolute path and $(BUILD_DIR)/debian/jed-common/…
isn't valid after installation.

Bye, Jörg.
-- 
Der Mensch hat die Atombombe erfunden.
Keine Maus der Welt käme auf die Idee, eine Mausefalle zu konstruieren.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-jed-devel/attachments/20070225/dc6c247c/attachment.pgp


More information about the Pkg-jed-devel mailing list