<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
On Sat, 2011-02-19 at 17:08 +0100, Cyril Brulebois wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Gaetan Nadon <<A HREF="mailto:memsize@videotron.ca">memsize@videotron.ca</A>> (19/02/2011):
> The scenario in question is running distcheck in a VPATH build when
> doc generation is disabled which conflicts with the requirement of
> mandating generated docs in the tarball.
>
> This scenario does not affect distro/OS builds as far as I can tell.
Out-of-tree build (with doc enabled) failed for me. I'm attaching the
patch I used to get going. Need to figure out why $(abs_builddir)
instead of plain $(builddir), though. Please also note the typo fix
for the last target, there was a missing slash.
Failure:
| make[3]: Entering directory `/home/cyril/debian-x/xserver/xorg-server.git/build-main/hw/dmx/doc'
| /usr/bin/doxygen ../../../../hw/dmx/doc/doxygen.conf
| error: tag HTML_HEADER: header file `doxygen.head' does not exist
| make[3]: *** [html/annotated.html] Error 1
</PRE>
</BLOCKQUOTE>
<BR>
That code has not changed for years. Perhaps a subtle change in automake behaviour.<BR>
Out of curiosity, what version do you use? It may explain why just a few people noticed it.<BR>
I am on automake 1.10.<BR>
<BR>
The patch does the right thing, might as well post it for review.<BR>
The header/footer files must be in the build directory.<BR>
Note that abs_* is in automake >= 1.10 which is ok as 1.10 is our minimum.<BR>
<BR>
Make sure to nuke html/ as it is not removed by clean-all.<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
KiBi.
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>