bug-automake
[Top][All Lists]
Advanced

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

HTML target


From: Simon Josefsson
Subject: HTML target
Date: Sun, 09 Nov 2003 23:46:48 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

(I'm using CVS autoconf/automake/libtool.)

I found this in NEWS:

  - Texinfo rules now support the `html' target.

Which was a welcome addition, since I have been adding

EXTRA_DIST = ... foo.html ...
info_TEXINFOS = foo.texi
foo.html: foo.texi
        $(MAKEINFO) --html --no-split --number-sections foo.texi

for a while in a number of projects.

But the automake rule seem to output the HTML into a sub-directory
foo.html/.  Any thoughts on making the automake HTML support a bit
more flexible?  E.g., allowing single-file outputs (--no-split).
Defaulting to the --no-split mode of operation would make the HTML
target similar to PS, PDF and INFO targets, FWIW.  But I guess
automake ideally should support both --no-split and generating many
files in a sub-directory too.  In that case, there is a problem with
calling the sub-directory 'foo.html' since it prevents a file
'foo.html'. Rename the directory to 'foo-html'?

Looking at the generated Makefile rule I see:

.texi.html:
        $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) --html -I $(srcdir) \
         -o $@ $<

Is it possible to use '--no-split for HTML but not for Info?

Btw, the manual still contains a small section with:

   For instance, until HTML support is part of Automake, you could use
   this to install raw HTML documentation:

Thanks,
Simon





reply via email to

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