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 @@ -8,6 +8,7 @@ nix = find_program('nix', native : true)
88
99mdbook = find_program (' mdbook' , native : true )
1010bash = find_program (' bash' , native : true )
11+ rsync = find_program (' rsync' , required : true , native : true )
1112
1213pymod = import (' python' )
1314python = pymod.find_installation(' python3' )
@@ -84,7 +85,7 @@ manual = custom_target(
8485 @0@ @INPUT0@ @CURRENT_SOURCE_DIR@ > @DEPFILE@
8586 @0@ @INPUT1@ summary @2@ < @CURRENT_SOURCE_DIR@/source/SUMMARY.md.in > @2@/source/SUMMARY.md
8687 sed -e 's|@version@|@3@|g' < @INPUT2@ > @2@/book.toml
87- rsync -r --include='*.md' @CURRENT_SOURCE_DIR@/ @2@/
88+ @4@ -r --include='*.md' @CURRENT_SOURCE_DIR@/ @2@/
8889 (cd @2@; RUST_LOG=warn @1@ build -d @2@ 3>&2 2>&1 1>&3) | { grep -Fv "because fragment resolution isn't implemented" || :; } 3>&2 2>&1 1>&3
8990 rm -rf @2@/manual
9091 mv @2@/html @2@/manual
@@ -94,6 +95,7 @@ manual = custom_target(
9495 mdbook.full_path(),
9596 meson .current_build_dir(),
9697 meson .project_version(),
98+ rsync.full_path(),
9799 ),
98100 ],
99101 input : [
You can’t perform that action at this time.
0 commit comments