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)
8
8
9
9
mdbook = find_program (' mdbook' , native : true )
10
10
bash = find_program (' bash' , native : true )
11
+ rsync = find_program (' rsync' , required : true , native : true )
11
12
12
13
pymod = import (' python' )
13
14
python = pymod.find_installation(' python3' )
@@ -84,7 +85,7 @@ manual = custom_target(
84
85
@0@ @INPUT0@ @CURRENT_SOURCE_DIR@ > @DEPFILE@
85
86
@0@ @INPUT1@ summary @2@ < @CURRENT_SOURCE_DIR@/source/SUMMARY.md.in > @2@/source/SUMMARY.md
86
87
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@/
88
89
(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
89
90
rm -rf @2@/manual
90
91
mv @2@/html @2@/manual
@@ -94,6 +95,7 @@ manual = custom_target(
94
95
mdbook.full_path(),
95
96
meson .current_build_dir(),
96
97
meson .project_version(),
98
+ rsync.full_path(),
97
99
),
98
100
],
99
101
input : [
You can’t perform that action at this time.
0 commit comments