Next: , Previous: , Up: Format of   [Contents][Index]

5.1.2 Rules in

Rules follow the same syntax as rules in Makefiles. See Writing Rules in GNU make. These rules are copied to the output This allows you to provide arbitrary functionality for users of the generated Makefiles. 2

A rule defined in overrides any such rule of a similar name that would be automatically generated by automake. Although this is a supported feature, it is not recommended.

See also Portable Make Programming.



For instance, the Automake distribution includes a non-standard rule for the git-dist target, which the Automake maintainer uses to make distributions from the source control system.