2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-13 12:22:17 +00:00

Use 'common.mkdir' as the name of the action shown to user.

There's no need to include 'quick-fix' in that text :-)


[SVN r50174]
This commit is contained in:
Vladimir Prus
2008-12-07 08:55:43 +00:00
parent 6d6162bc99
commit bf25b87e60

View File

@@ -596,14 +596,7 @@ rule MkDir
$(<)-mkdir = true ;
# Schedule the mkdir build action.
if [ os.name ] = NT
{
MkDir1-quick-fix-for-windows $(<) ;
}
else
{
MkDir1-quick-fix-for-unix $(<) ;
}
common.mkdir $(<) ;
# Prepare a Jam 'dirs' target that can be used to make the build only
# construct all the target directories.
@@ -638,26 +631,30 @@ rule MkDir
}
actions MkDir1
{
mkdir "$(<)"
}
#actions MkDir1
#{
# mkdir "$(<)"
#}
# (todo)
# The following quick-fix actions should be replaced using the original MkDir1
# action once Boost Jam gets updated to correctly detect different paths leading
# up to the same filesystem target and triggers their build action only once.
# (todo) (04.07.2008.) (Jurko)
actions MkDir1-quick-fix-for-unix
{
mkdir -p "$(<)"
}
actions MkDir1-quick-fix-for-windows
{
if not exist "$(<)\\" mkdir "$(<)"
}
if [ os.name ] = NT
{
actions mkdir
{
if not exist "$(<)\\" mkdir "$(<)"
}
}
else
{
actions mkdir
{
mkdir -p "$(<)"
}
}
actions piecemeal together existing Clean
{