diff options
author | William Deegan <bill@baddogconsulting.com> | 2020-06-30 19:33:34 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2020-06-30 19:33:34 (GMT) |
commit | f2fb4bb5449c1375c0cbde5d15f674a168f2b3bf (patch) | |
tree | efd80e2bc07bcc19547a4d58eea5d4e8db8c9214 /doc/SConscript | |
parent | 073c5a23eb8505f68c5d70b92e8a0098d03158d8 (diff) | |
download | SCons-f2fb4bb5449c1375c0cbde5d15f674a168f2b3bf.zip SCons-f2fb4bb5449c1375c0cbde5d15f674a168f2b3bf.tar.gz SCons-f2fb4bb5449c1375c0cbde5d15f674a168f2b3bf.tar.bz2 |
API doc builds working now. Generating SCons/__versioninfo.py but not yet using it
Diffstat (limited to 'doc/SConscript')
-rw-r--r-- | doc/SConscript | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/SConscript b/doc/SConscript index bc3fb19..cebb9bd 100644 --- a/doc/SConscript +++ b/doc/SConscript @@ -511,16 +511,17 @@ else: if not skip_doc: # Build API DOCS # TODO: Better specify dependencies on source files - pdf_file = env.Command('#/build/doc/api/latex/SConsAPIDocs.pdf', + pdf_file = env.Command('#/build/doc/api/scons-api.pdf', env.Glob('#/SCons/*'), - "cd doc && make latexpdf") + [Delete("#/build/doc/api"), + "cd doc && make pdf"]) pdf_install = os.path.join(build, 'PDF', 'scons-api.pdf') env.InstallAs(pdf_install, pdf_file) tar_deps.append(pdf_install) tar_list.append(pdf_install) htmldir = os.path.join(build, 'HTML', 'scons-api') - html_files = env.Command('#/build/doc/api/html/index.html', + html_files = env.Command('#/build/doc/HTML/scons-api/index.html', env.Glob('#/SCons/*'), "cd doc && make dirhtml BUILDDIR=${HTMLDIR}", HTMLDIR=htmldir) |