Skip to content

Commit 51cad2a

Browse files
committed
Fix missing conf.py files during docbuilding
1 parent f4adc25 commit 51cad2a

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

src/doc/meson.build

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,6 @@ if not sphinx_check.found()
1010
subdir_done()
1111
endif
1212

13-
# TODO: Migrate this completely to meson
14-
doc_bootstrap = custom_target(
15-
'bootstrap',
16-
output: ['autogen'],
17-
command: [files('bootstrap'), meson.current_build_dir()],
18-
env: {'SAGE_ROOT': root},
19-
)
2013
doc_src = []
2114
subdir('el')
2215
subdir('ca')
@@ -33,6 +26,17 @@ subdir('es')
3326
subdir('fr')
3427
subdir('ja')
3528

29+
# TODO: Migrate this completely to meson
30+
doc_bootstrap = custom_target(
31+
'bootstrap',
32+
output: ['autogen'],
33+
command: [files('bootstrap'), meson.current_build_dir()],
34+
env: {'SAGE_ROOT': root},
35+
# doc_src is not really a dependency of the bootstrap, but we want to make sure
36+
# that all the source files are present before running the actual doc build
37+
# so let's collect all source-related targets here.
38+
depends: doc_src
39+
)
3640

3741
references = run_command(
3842
py,
@@ -79,7 +83,6 @@ foreach type : ['inventory', 'html', 'pdf']
7983
endif
8084
target = custom_target(
8185
'doc-' + type + '-reference-' + short_ref,
82-
#input: doc_src,
8386
output: [type + short_ref],
8487
command: [
8588
py,

0 commit comments

Comments
 (0)