@@ -12,14 +12,14 @@ rule %r{#{$root}/gen/profile_doc/adoc/.*\.adoc} => proc { |tname|
1212} do |t |
1313 profile_family_name = Pathname . new ( t . name ) . basename ( ".adoc" ) . to_s
1414
15- profile_family = arch_def_for ( "_ " ) . profile_family ( profile_family_name )
15+ profile_family = arch_def_for ( "_64 " ) . profile_family ( profile_family_name )
1616 raise ArgumentError , "No profile family named '#{ profile_family_name } '" if profile_family . nil?
1717
1818 template_path = Pathname . new "#{ $root} /backends/profile_doc/templates/profile_pdf.adoc.erb"
1919 erb = ERB . new ( template_path . read , trim_mode : "-" )
2020 erb . filename = template_path . to_s
2121
22- arch_def = arch_def_for ( "_ " )
22+ arch_def = arch_def_for ( "_64 " )
2323
2424 FileUtils . mkdir_p File . dirname ( t . name )
2525 File . write t . name , AsciidocUtils . resolve_links ( arch_def . find_replace_links ( erb . result ( binding ) ) )
@@ -85,7 +85,7 @@ namespace :gen do
8585 family_name = args [ :profile_family ]
8686 raise ArgumentError , "Missing required option +profile_family+" if family_name . nil?
8787
88- family = arch_def_for ( "_ " ) . profile_family ( family_name )
88+ family = arch_def_for ( "_64 " ) . profile_family ( family_name )
8989 raise ArgumentError , "No profile family named '#{ family_name } " if family . nil?
9090
9191 Rake ::Task [ "#{ $root} /gen/profile_doc/pdf/#{ family_name } .pdf" ] . invoke
@@ -96,7 +96,7 @@ namespace :gen do
9696 family_name = args [ :profile_family ]
9797 raise ArgumentError , "Missing required option +profile_family+" if family_name . nil?
9898
99- family = arch_def_for ( "_ " ) . profile_family ( family_name )
99+ family = arch_def_for ( "_64 " ) . profile_family ( family_name )
100100 raise ArgumentError , "No profile family named '#{ family_name } " if family . nil?
101101
102102 Rake ::Task [ "#{ $root} /gen/profile_doc/html/#{ family_name } .html" ] . invoke
0 commit comments