[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cvs doc/texinfo and version.texi
From: |
Alexandre Duret-Lutz |
Subject: |
Re: cvs doc/texinfo and version.texi |
Date: |
Fri, 29 Nov 2002 20:35:05 +0100 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/20.7 (i386-debian-linux-gnu) |
>>> "Stepan" == Stepan Kasal <address@hidden> writes:
Stepan> Hello,
Stepan> On Tue, Nov 26, 2002 at 05:01:51PM -0500, Karl Berry wrote:
Stepan> [speaking about the latest cvs version of texinfo:]
>> I think the rule for the "texinfo" info file (in doc/Makefile.am)
>> should have a dependency on version.texi.
>>
>> Thanks much, I made that change.
>>
>> (I'm kind of surprised that automake didn't insert the dependencies
>> automatically. It did for texinfo.dvi and texinfo.pdf. Oh well.)
Stepan> I also wondered why is the dependency missing.
I must be missing something, because in Texinfo the rule to
build doc/texinfo is supplied in Makefile.am, it's not
generated by Automake. You aren't asking for Automake to
fix user-supplied rules, are you?
You'll see that if you remove this hand-crafted rule, Automake
generates correct dependencies. Actually it should be safe to
suppress the following two rules, since Automake >= 1.7 no longer
put info files in the source directory.
2002-11-29 Alexandre Duret-Lutz <address@hidden>
* doc/Makefile.am (.texi.info, texinfo): Remove. Automake 1.7+
no longer output info files in the source tree.
Index: doc/Makefile.am
===================================================================
RCS file: /cvsroot/texinfo/texinfo/doc/Makefile.am,v
retrieving revision 1.5
diff -u -r1.5 Makefile.am
--- doc/Makefile.am 26 Nov 2002 22:49:59 -0000 1.5
+++ doc/Makefile.am 29 Nov 2002 19:29:36 -0000
@@ -73,10 +73,3 @@
# Do not create info files for distribution, but do create man pages.
dist-info:
-
-# Do not try to build the info files in $(srcdir),
-# since we don't distribute them.
-.texi.info:
- $(MAKEINFO) -I$(srcdir) `echo $< | sed 's,.*/,,'`
-texinfo: $(srcdir)/texinfo.txi version.texi
- $(MAKEINFO) -I$(srcdir) texinfo.txi
--
Alexandre Duret-Lutz