| 12345678910111213141516171819202122232425262728293031 | // -*- mode:doc; -*-// vim: set syntax=asciidoc:[[hooks]]Hooks available in the various build steps~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~The infrastructure allow packages to specify hooks.  These define furtheractions to perform after existing steps.  Most hooks aren't really useful formanual packages, since the +Makefile+ already has full control over theactions performed in each step of the package construction.The following hook targets are available:* +post-extract+* +post-patch+* +pre-configure+* +post-configure+* +pre-build+* +post-build+* +pre-install+* +post-install+For example, to make some scripts executable after extraction,add following to your +Makefile+:---------------------post-extract:	chmod a+x $(WRKBUILD)/build/make/*.sh	chmod a+x $(WRKBUILD)/build/make/*.pl---------------------
 |