Boost logo

Boost-Build :

Subject: Re: [Boost-build] Breakage in Doxygen rule
From: John Maddock (john_at_[hidden])
Date: 2008-12-02 14:26:28


Vladimir Prus wrote:
>>>>> I presume this code is supposed to remove stale XML files -- does
>>>>> the error happens if you touch any of the headers and run bjam
>>>>> again? I would expect that in that case, stale XML files be
>>>>> removed.
>>>
>>> The error is still present because the directory path *never*
>>> exists.
>>
>> Can you explain? For me, on Linux, we try to remove
>>
>>
>> ../../../bin.v2/libs/program_options/doc/gcc-4.2.4/debug/autodoc-xml/*.xml
>>
>> and there's a bunch of *.xml files there. The directory is created
>> by doxygen, due
>> to a couple of lines in its (generated) config file:

Hmm, on win32 when building the accumulator docs the command is:

del /f /q
"..\..\..\bin.v2\libs\accumulators\doc\msvc-8.0\debug\threading-multi\statsdoc\*.xml"

and the files get created in:

..\..\..\bin.v2\libs\accumulators\doc\msvc-8.0\debug\threading-multi\statsdoc-xml

Of course we may still be deleting files that haven't been created yet...

John.


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