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: ``. + +- 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`. + ### Build options