Eric Niebler wrote:
Joao Abecasis wrote:
Sorry, I couldn't reproduce the issue.
I updated my CVS and built bjam from source. Trying "bjam --v2" inside
boost/tools/quickbook/doc worked fine.
Then I created a test directory inside boost/tools/quickbook and copied
your Jamfile.v2 in it. Still all I got was a syntax error in test.qbk...
This was on linux with gcc-3.3, if that changes anything.
Anything else I could try?
Can you try deleting any pre-built quickbook executables? Make sure you
haven't done any quickbook configuration in your user-config.jam and
site-config.jam. Double-check that there is no quickbook exe in your path.
All checked.
It's happening on both of my Win2K machines.
Ok, I managed to reproduce the issue under windows XP. Don't know why I
didn't get it on linux, though. IIUC your issue should be
platform-independent.
Anyway, the attached patch fixed the issue for me and was committed to cvs.
Regards,
Jo�o
Index: quickbook.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/tools/quickbook.jam,v
retrieving revision 1.7
diff -u -r1.7 quickbook.jam
--- quickbook.jam 18 Mar 2005 01:03:40 -0000 1.7
+++ quickbook.jam 2 Jun 2005 10:54:48 -0000
@@ -179,9 +179,11 @@
# The first element are actual targets, the second are
# properties found in target-id. We don't care about these
since
# we've passed the id ourselves.
- quickbook-main-target = $(quickbook-main-target[1]) ;
+ quickbook-main-target =
+ [ $(quickbook-main-target[1]).main-target quickbook ] ;
- quickbook-binary-dependencies = [
$(quickbook-main-target).generate $(property-set) ] ;
+ quickbook-binary-dependencies =
+ [ $(quickbook-main-target).generate $(property-set) ] ;
# Ignore usage-requirements returned as first element.
quickbook-binary-dependencies =
$(quickbook-binary-dependencies[2-]) ;