Manual.md: describe clean phase and do_clean().

This commit is contained in:
Juan RP 2014-04-30 11:06:38 +02:00
parent a3ece44f0a
commit 20f6b92873
1 changed files with 4 additions and 0 deletions

View File

@ -67,6 +67,8 @@ via `make install` or any other compatible method.
- `pkg` This phase builds the `binary packages` with files stored in the - `pkg` This phase builds the `binary packages` with files stored in the
`package destdir` and registers them into the local repository. `package destdir` and registers them into the local repository.
- `clean` This phase cleans up the package (if defined).
`xbps-src` supports running just the specified phase, and if it ran `xbps-src` supports running just the specified phase, and if it ran
successfully, the phase will be skipped later (unless its work directory successfully, the phase will be skipped later (unless its work directory
`${wrksrc}` is removed with `xbps-src clean`). `${wrksrc}` is removed with `xbps-src clean`).
@ -340,6 +342,8 @@ still be passed in if it's a GNU configure script.
- `post_install()` Actions to execute after `do_install()`. - `post_install()` Actions to execute after `do_install()`.
- `do_clean()` Actions to execute to clean up after a successful package phase.
> 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.