File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ Dir.glob("#{$root}/arch/profile_release/*.yaml") do |f|
5353 "#{ $root} /lib/arch_obj_models/portfolio.rb" ,
5454 "#{ $root} /lib/portfolio_design.rb" ,
5555 "#{ $root} /lib/design.rb" ,
56- "#{ $root } /backends/profile_doc /templates/profile.adoc.erb"
56+ "#{ PROFILE_DOC_DIR } /templates/profile.adoc.erb"
5757 ] . concat ( profile_pathnames ) do |t |
5858 # Create BaseArchitecture object. Function located in top-level Rakefile.
5959 puts "UPDATE: Creating BaseArchitecture #{ base_isa_name } for #{ t } "
@@ -86,6 +86,8 @@ Dir.glob("#{$root}/arch/profile_release/*.yaml") do |f|
8686 erb = ERB . new ( File . read ( template_path ) , trim_mode : "-" )
8787 erb . filename = template_path . to_s
8888
89+ FileUtils . mkdir_p File . dirname ( t . name )
90+
8991 # Convert ERB to final ASCIIDOC. Note that this code is broken up into separate function calls
9092 # each with a variable name to aid in running a command-line debugger on this code.
9193 puts "UPDATE: Converting ERB template to adoc for #{ profile_release_name } "
You can’t perform that action at this time.
0 commit comments