Bill Allombert on Wed, 12 Jan 2011 18:16:06 +0100

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Path to perl

On Wed, Jan 12, 2011 at 08:39:24AM -0800, Jeroen Demeyer wrote:
> On 2011-01-12 00:08, Karim Belabas wrote:
> > I don't understand why either patch should be necessary for a released
> > version : usersch3.tex is shipped with the release, it shouldn't be
> > rebuilt. Thus pari.desc is not necessary, and doc_make should not be run
> > on the end user's machine.
> There is a problem with released versions (just tried it with
> pari-2.4.3.alpha from the PARI/GP website) and it needs perl to build
> the documentation.  So this is certainly a bug.

It does not need perl. The problem is with doc/Makefile.

> usersch3.tex is shipped, but if you don't ship src/desc/pari.desc (a
> dependency of usersch3.tex in the Makefile), make will try to rebuild
> usersch3.tex.

The only use of perl here is to build usersch3.tex from src/desc/pari.desc, but
if usersch3.tex is shipped but not src/desc/pari.desc, then certainly perl is useless.

The issue is that the Makefile try to "update" usersch3.tex even if no files in
src/functions/*/* are modified. The patch I sent fix that.

Hope that clarify,