2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 00:52:16 +00:00

Prevent doxygen's html (not docbook) generation from using './html'.

Now, 'html' directory is created in the build dir of the Jamfile
where 'doxygen' target appears.


[SVN r55200]
This commit is contained in:
Vladimir Prus
2009-07-27 07:24:41 +00:00
parent f47d83789a
commit cda57d4290

View File

@@ -354,9 +354,20 @@ rule doxygen ( target : sources * : requirements * : default-build * : usage-req
{
# Build an HTML directory from the sources.
local html-location = [ feature.get-values <location> : $(requirements) ] ;
local output-dir = [ path.root
[ path.join [ $(project).get build-dir ] $(html-location:E=html) ]
[ path.pwd ] ] ;
local output-dir ;
if [ $(project).get build-dir ]
{
# Explicitly specified build dir. Add html at the end.
output-dir = [ path.join [ $(project).build-dir ] $(html-location:E=html) ] ;
}
else
{
# Trim 'bin' from implicit build dir, for no other reason that backward
# compatibility.
output-dir = [ path.join [ path.parent [ $(project).build-dir ] ]
$(html-location:E=html) ] ;
}
output-dir = [ path.root $(output-dir) [ path.pwd ] ] ;
local output-dir-native = [ path.native $(output-dir) ] ;
requirements = [ property.change $(requirements) : <location> ] ;