-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 09/02/2005, at 9:10 AM, Alexandre Duret-Lutz wrote:
How does this things require the Makefile fragment to be generated? IOW, why not simply `include common-rules.mk'?
Actually I originally did it this way, but some of the rules are only placed in common-rules.mk in certain circumstances, which is checked by the m4 macro (previously I was using am conditionals), which meant there were two files for each extra rule (or group of rules). Also different projects may not require the same common rules, so I prefer to keep separate functionality in separate files, but doing so as different mk files makes including them all in each Makefile awkward.
Finally, I'm hoping that the functionality the extra rules provide will be useful to others and while there is an technique and archive for autoconf extensions, there doesn't (to my knowledge) seem to be one for extending automake. If you have any other suggestions please let me know. Thanks in advance.
Cheers,
Tom -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin)
iD8DBQFCCcmxw1G4ZUM7KZoRAiLdAKCrXMgOIaSjvMYA6L6HNJopc02DRgCfUOUU D2wqLo9lXkOcow1lWfObl5c= =0oEx -----END PGP SIGNATURE-----