infra: Add PRE_*_HOOKS for every step
authorMaxime Hadjinlian <maxime.hadjinlian@gmail.com>
Mon, 5 May 2014 13:04:20 +0000 (15:04 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 8 May 2014 20:00:47 +0000 (22:00 +0200)
commitac93fabb66de0a2acb703b9079bfeed2f9d2cd45
treecbfc0765bad1aff406b6405929f7125d11663886
parent22074a276277dd98c5866640f983cbc1fb158521
infra: Add PRE_*_HOOKS for every step

Add PRE_*_HOOKS to all the different steps through which a package may go.

This will help avoid using POST_*_HOOKS to do tasks that should be done
in the PRE_*_HOOKS of the next step.
Otherwise, when the user would do a make foo-re<step>, this would not do
what was really intented, the POST_*_HOOK of the preceding step not
being executed.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
[ThomasDS: rebase, add images hooks to manual]
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
docs/manual/adding-packages-hooks.txt
package/pkg-generic.mk