Ticket #2068: common.jam.patch
File common.jam.patch, 1.2 KB (added by , 14 years ago) |
---|
-
tools/build/v2/tools/common.jam
576 576 $(<)-mkdir = true ; 577 577 578 578 # Schedule the mkdir build action. 579 MkDir1 $(<) ; 579 if [ os.name ] = NT 580 { 581 MkDir1-quick-fix-for-windows $(<) ; 582 } 583 else 584 { 585 MkDir1-quick-fix-for-unix $(<) ; 586 } 580 587 581 588 # Prepare a Jam 'dirs' target that can be used to make the build only 582 589 # construct all the target directories. … … 617 624 } 618 625 619 626 627 # (todo) 628 # The following quick-fix actions should be replaced using the original MkDir1 629 # action once Boost Jam gets updated to correctly detect different paths leading 630 # up to the same filesystem target and triggers their build action only once. 631 # (todo) (04.07.2008.) (Jurko) 632 actions MkDir1-quick-fix-for-unix 633 { 634 mkdir -p "$(<)" 635 } 636 actions MkDir1-quick-fix-for-windows 637 { 638 if not exist "$(<)\\" mkdir "$(<)" 639 } 640 641 620 642 actions piecemeal together existing Clean 621 643 { 622 644 $(RM) "$(>)"