diff options
| author | 2019-01-28 12:45:18 +0100 | |
|---|---|---|
| committer | 2019-02-19 09:33:47 -0300 | |
| commit | efe1a8beb068c79e4daae2b21f966d9df990e0dd (patch) | |
| tree | 7a72a2a77efd95f6c6e7e6dfd4292849776d4a8a /Manual.md | |
| parent | Manual.md: complete functions list (diff) | |
Manual.md: document working directory for functions
Diffstat (limited to 'Manual.md')
| -rw-r--r-- | Manual.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Manual.md b/Manual.md index 358cb22a032..cd18c7830c4 100644 --- a/Manual.md +++ b/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 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> ### Build options |
