Manual.md: document working directory for functions
This commit is contained in:
parent
128fa9c4e8
commit
efe1a8beb0
1 changed files with 11 additions and 0 deletions
11
Manual.md
11
Manual.md
|
@ -938,6 +938,17 @@ still be passed in if it's a GNU configure script.
|
||||||
> A function defined in a template has preference over the same function
|
> A function defined in a template has preference over the same function
|
||||||
defined by a `build_style` script.
|
defined by a `build_style` script.
|
||||||
|
|
||||||
|
Current working directory for functions is set as follows:
|
||||||
|
|
||||||
|
- For pre_fetch, pre_extract, do_clean: `<masterdir>`.
|
||||||
|
|
||||||
|
- For do_fetch, post_fetch: `XBPS_BUILDDIR`.
|
||||||
|
|
||||||
|
- For do_extract, post_extract: `wrksrc`.
|
||||||
|
|
||||||
|
- For pre_configure through post_install: `build_wrksrc`
|
||||||
|
if it is defined, otherwise `wrksrc`.
|
||||||
|
|
||||||
<a id="build_options"></a>
|
<a id="build_options"></a>
|
||||||
### Build options
|
### Build options
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue