<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Aug 11, 2009, at 4:32 PM, Arnaud Quette wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br><br><div class="gmail_quote">2009/8/11 Charles Lepple <span dir="ltr"><<a href="mailto:clepple@gmail.com">clepple@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.8ex; padding-left: 1ex; position: static; z-index: auto; "> Could someone please check and see what I am doing wrong with automake in branches/AsciiDoc?<br> <br> <a href="http://boxster.ghz.cc/projects/nut/browser/branches/AsciiDoc/docs/Makefile.am?rev=1917" target="_blank">http://boxster.ghz.cc/projects/nut/browser/branches/AsciiDoc/docs/Makefile.am?rev=1917</a><br> <br> The problem is that 'make html' never recurses into docs/website.<br> <br> I have listed 'website' in the 'SUBDIRS' section of docs/Makefile.am, and 'docs/website/Makefile' is listed in the output section of <a href="http://configure.in" target="_blank">configure.in</a>.<br> <br> (If you need to test things, the MANUALUPDATE conditional won't be true unless you have 'asciidoc' installed, but it's an easy thing to add if you don't have it.)<br> <br> Any tips would be appreciated. Thanks!<br><font color="#888888"> </font></blockquote><div><br>from the website dir, make html works, while a simple make doesn't!<br>so it's definitly a target issue.</div></div></blockquote><blockquote type="cite"><div class="gmail_quote"><div><br></div></div>I've not found the exact reason, but a solution that works is to add an "all: html" just after the MANUALUPDATE flag.<br></blockquote> <div><br></div><div>That's actually a little different - by not having 'all: html', we don't force a rebuild of the documentation just because asciidoc is installed. (Note that 'make' doesn't currently force a rebuild of docs/ either.)</div><div><br></div><div>Maybe it's OK to do a rebuild, as long as their copy of asciidoc is new enough. That'll be another autoconf test :-/</div><br><blockquote type="cite">btw, each target should output its result to the separate output dir.*<br>ie "... -o output/$@<br></blockquote></div><br><div>Yeah, I was going to fix that after I got it to recurse into the docs/website directory.</div></body></html>