@@ -73,18 +73,6 @@ def clean(target, source, env):
7373 )
7474
7575
76- def add_html_target (org_file , main_target ):
77- name = make_project_name (org_file )
78- html_name = f'{ name } Html'
79-
80- def putHtml (target , source , env ):
81- move (f'add-ons/{ name } .html' , f'build/{ name } /{ name } .html' )
82- makedirs (f'build/{ name } /tools/' , exist_ok = True )
83- copy ('tools/org-adwaita.css' , f'build/{ name } /tools/org-adwaita.css' )
84-
85- return AlwaysBuild (Alias (html_name , main_target , [make_export (org_file ), putHtml ]))
86-
87-
8876def add_test_target (org_file , main_target ):
8977 name = make_project_name (org_file )
9078 test_name = f'{ name } Test'
@@ -154,7 +142,7 @@ def pack(target, source, env):
154142 version = foundVersion .group (1 ) if foundVersion is not None else commit_sha
155143
156144 copytree ('documentation' , build_path / 'documentation' , dirs_exist_ok = True )
157- copy (org_file , ( build_path / name ). with_suffix ( ' .org') )
145+ copy (org_file , build_path / 'README .org' )
158146
159147 licenses_path = build_path / 'LICENSES'
160148 makedirs (licenses_path , exist_ok = True )
@@ -264,17 +252,14 @@ def make_index(target, source, env):
264252project_targets = []
265253for org_file in Glob ('add-ons/*.org' ):
266254 main_target = add_main_target (org_file , 'build/{0}/zscript.zs' )
267- html_target = add_html_target (org_file , main_target )
268255 test_target = add_test_target (org_file , main_target )
269- pack_target = add_pack_target (org_file , html_target )
256+ pack_target = add_pack_target (org_file , main_target )
270257
271258 if org_file != 'ClematisM.org' :
272259 Depends (test_target , clematis_target )
273260 Depends (test_all , test_target )
274261 Depends (pk3_all , pack_target )
275- project_targets .append (
276- f'{ main_target [0 ]} , { html_target [0 ]} , { test_target [0 ]} , { pack_target [0 ]} '
277- )
262+ project_targets .append (f'{ main_target [0 ]} , { test_target [0 ]} , { pack_target [0 ]} ' )
278263
279264html_all = Alias ('HtmlAll' , None , make_index )
280265for org_file in Glob ('*/*.org' ) + Glob ('*.org' ):
0 commit comments