aboutsummaryrefslogtreecommitdiff
path: root/src/buildparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildparser.cpp')
-rw-r--r--src/buildparser.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/buildparser.cpp b/src/buildparser.cpp
index 5ebcfd3..90e21e2 100644
--- a/src/buildparser.cpp
+++ b/src/buildparser.cpp
@@ -441,6 +441,29 @@ Build *BuildParser::genBuild()
441 bld->addRule( pRule ); 441 bld->addRule( pRule );
442 } 442 }
443 443
444 for( ActionTmpList::iterator i = lActions.begin();
445 i != lActions.end(); i++ )
446 {
447 Action *pAct = new Action;
448 pAct->setName( (*i).first );
449
450 for( ActionTmpCmdList::iterator j = (*i).second.begin();
451 j != (*i).second.end(); j++ )
452 {
453 StringList lWhat = buildToStringList(
454 (*j).second, StringList()
455 );
456
457 for( StringList::iterator k = lWhat.begin();
458 k != lWhat.end(); k++ )
459 {
460 pAct->addCommand( (Action::eAction)((*j).first), *k );
461 }
462 }
463
464 bld->addAction( pAct );
465 }
466
444 return bld; 467 return bld;
445} 468}
446 469