automake
[Top][All Lists]
Advanced

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

Dependencies for texinfo


From: John Darrington
Subject: Dependencies for texinfo
Date: Fri, 1 May 2009 07:58:30 +0800
User-agent: Mutt/1.5.18 (2008-05-17)

The automake manual says:

 Sometimes an info file actually depends on more than one .texi
 file. For instance, in GNU Hello, hello.texi includes the file
 gpl.texi. You can tell Automake about these dependencies using the
 texi_TEXINFOS variable. Here is how GNU Hello does it:

     info_TEXINFOS = hello.texi
     hello_TEXINFOS = gpl.texi


But unfortunately it doesn't appear to work as described, at least not
in the general case.


I have in my automake file:

doc_pspp_TEXINFOS = \
        doc/intro.texi \

[.. lots of rows deleted ..]

        doc/license.texi \
        doc/not-implemented.texi \

[.. lots of rows deleted ..]

        doc/tutorial.texi \

[.. lots of rows deleted ..]

doc_not_implemented_TEXINFOS = doc/ni.texi
doc_tutorial_TEXINFOS = doc/tut.texi

and in doc/not-implemented.texi there is the line @include doc/ni.texi
Similarly in doc/tutorial.texi there is @include doc/tut.texi

But the dependencies aren't generated.  Consequently, the build fails
with :


./doc//tutorial.texi:3: @include `doc/tut.texi': No such file or  directory.


I have to manually run "make doc/tut.texi doc/ni.texi"

Am I using automake wrong or is automake behaving wrong?

J'


-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.


Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]