2 // vim: set syntax=asciidoc:
5 Hooks available in the various build steps
6 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8 The infrastructure allow packages to specify hooks. These define further
9 actions to perform after existing steps. Most hooks aren't really useful for
10 manual packages, since the +Makefile+ already has full control over the
11 actions performed in each step of the package construction.
13 The following hook targets are available:
24 For example, to make some scripts executable after extraction,
25 add following to your +Makefile+:
29 chmod a+x $(WRKBUILD)/build/make/*.sh
30 chmod a+x $(WRKBUILD)/build/make/*.pl