|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-07-25 01:56:14
Eric Friedman wrote:
> Using rev 1.7, I'm now getting an error similar but slightly
> different from what I got w/ rev 1.4.
That's strange. I've just tried again and it works for me.
> Thanks,
> Eric
>
> P.S. I run the documentation build off of a mapped network drive (V:
> maps to my boost-cvs root) because bjam (or perhaps the BoostBook
> files, I'm unsure) doesn't seem to like paths with spaces.
Probably that's because boostbook.jam does not quote filenames properly. I've
added the quotes.
> ---bjam output:
>
> ...found 34 targets...
> ...updating 7 targets...
> MkDir1 html
> MkDir1 bin
> MkDir1 bin\gcc
> MkDir1 bin\gcc\debug
> xslt-xsltproc bin\gcc\debug\boost.docbook
> warning: failed to load external entity "file:///V:/docbook.xsl"
> cannot parse V:\docbook.xsl
>
> set XML_CATALOG_FILES=catalog.xml
> xsltproc --xinclude -o bin\gcc\debug\boost.docbook
> V:\docbook.xsl src\boost.xml
That wierd. Could you remove catalog.xml and try again? If that does not help,
could you
1. Tell what's the value of "BOOST_ROOT" var? It it "V:"?
2. Add "ECHO $(.boostbook-xsl-dir) ;" to boostbook.jam, line 103 (after dirs
are computed) and at line 85, before path.make is called?
TIA,
Volodya
P.S. In case you're interested, the quotes patch is attached.
--Boundary-00=_OSNI/DKCCfgwBcO Content-Type: text/x-diff;
charset="iso-8859-1";
name="quotes.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="quotes.diff"
Index: doxygen.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/tools/doxygen.jam,v
retrieving revision 1.3
diff -u -r1.3 doxygen.jam
--- doxygen.jam 10 Jul 2003 14:16:16 -0000 1.3
+++ doxygen.jam 25 Jul 2003 06:54:35 -0000
@@ -71,14 +71,14 @@
actions doxygen-action
{
- $(NAME:E=doxygen) -g doxyfile
+ "$(NAME:E=doxygen)" -g doxyfile
echo "GENERATE_HTML = NO" >> doxyfile
echo "GENERATE_LATEX = NO" >> doxyfile
echo "GENERATE_XML = YES" >> doxyfile
echo "INPUT = $(>) " >> doxyfile
echo "RECURSIVE = $(RECURSIVE) " >> doxyfile
echo "FILE_PATTERNS = $(PATTERNS) " >> doxyfile
- $(NAME:E=doxygen) doxyfile ;
+ "$(NAME:E=doxygen)" doxyfile ;
}
rule xml-to-boostbook ( target : source : properties * )
Index: xsltproc.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/tools/xsltproc.jam,v
retrieving revision 1.2
diff -u -r1.2 xsltproc.jam
--- xsltproc.jam 10 Jul 2003 14:13:59 -0000 1.2
+++ xsltproc.jam 25 Jul 2003 06:54:35 -0000
@@ -75,12 +75,12 @@
actions xslt-xsltproc
{
- $(CATALOG) $(NAME:E=xsltproc) $(FLAGS) --xinclude -o $(<) $(STYLESHEET) $(>)
+ $(CATALOG) "$(NAME:E=xsltproc)" $(FLAGS) --xinclude -o "$(<)" "$(STYLESHEET)" "$(>)"
}
actions xslt-xsltproc-dir
{
- $(CATALOG) $(NAME:E=xsltproc) $(FLAGS) --xinclude -o $(DIRECTORY)/ $(STYLESHEET) $(>)
+ $(CATALOG) "$(NAME:E=xsltproc)" $(FLAGS) --xinclude -o "$(DIRECTORY)/" "$(STYLESHEET)" "$(>)"
}
IMPORT $(__name__) : xslt : : xslt ;
--Boundary-00=_OSNI/DKCCfgwBcO--
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk