diff --git a/v2/doc/src/extending.xml b/v2/doc/src/extending.xml index 14460189b..f85abb7b6 100644 --- a/v2/doc/src/extending.xml +++ b/v2/doc/src/extending.xml @@ -279,13 +279,13 @@ actions inline-file generators.register-standard verbatim.inline-file : VERBATIM : CPP ; generators.register-composing mex.mex : CPP LIB : MEX ; - Standard generators take a single source of type - VERBATIM and produces a result. The second generator - takes any number of sources, which can have either the - CPP or the LIB type. Composing generators + The first (standard) generator takes a single + source of type VERBATIM and produces a result. The second + (composing) generator takes any number of sources, which can have either + the CPP or the LIB type. Composing generators are typically used for generating top-level target type. For example, - the first generator invoked when building an exe target - is a composing generator corresponding to the proper linker. + the first generator invoked when building an exe target is + a composing generator corresponding to the proper linker. You should also know about two specific functions for registering @@ -743,18 +743,12 @@ glib codegen ; - Note that because you can associate a custom generator with a target - type, the logic of building can be rather compiler. - - For example, the + Note that because you can associate a custom generator with a target type, + the logic of building can be rather complicated. For example, the boostbook module declares a target type - BOOSTBOOK_MAIN and a custom generator for that - type. You can use that as example if your main target rule is - non-trivial. + BOOSTBOOK_MAIN and a custom generator for that type. You can + use that as example if your main target rule is non-trivial. -