Skip to content

Commit ef09b44

Browse files
authored
docs: Fix incorrect file paths and refine for better readability (#272)
1 parent d83a154 commit ef09b44

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/build_config.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ You can include additional files that are not normally installed inside site-pac
203203
[tool.pdm.build.wheel-data]
204204
# Install all files under scripts/ to the $prefix/bin directory.
205205
scripts = ["scripts/*"]
206-
# Install all *.h files under headers/ (recursively) to the $prefix/include directory,
206+
# Recursively install all *.h files from headers/ to the $prefix/include directory,
207207
# flattening all files into one directory:
208208
# headers/folder1/file1.h -> $prefix/include/file1.h
209209
# headers/folder2/file2.h -> $prefix/include/file2.h
@@ -225,17 +225,17 @@ Advanced examples:
225225

226226
```toml
227227
[tool.pdm.build.wheel-data]
228-
# Install all *.h files under headers/ (recursively) to the $prefix/include directory,
229-
# keeping the directory structure (thanks to relative-to).
228+
# Recursively install all *.h files under headers/ to the $prefix/include directory,
229+
# while preserving the directory structure (thanks to relative-to).
230230
# We make the destination paths relative to "headers"
231231
# so that "headers" does not appear in the destination paths:
232232
# headers/folder1/file1.h -> $prefix/include/folder1/file1.h
233233
include = [{path = "headers/**/*.h", relative-to = "headers/"}]
234-
# Install all files under share/ (recursively) to the $prefix/data directory,
235-
# keeping the directory structure (thanks to relative-to).
234+
# Recursively install all files from share/ to the $prefix/data directory,
235+
# while preserving the directory structure (thanks to relative-to).
236236
# We make the destination paths relative to "."
237237
# to preserve the exact same directory structure in the destination:
238-
# share/man/man1/project.1 -> $prefix/data/share/man/man1/project.1
238+
# share/man/man1/project.1 -> $prefix/share/man/man1/project.1
239239
data = [{path = "share/**/*", relative-to = "."}]
240240
```
241241

0 commit comments

Comments
 (0)