Common Makefile.am sections?
Owen Taylor
otaylor at redhat.com
Mon Jul 11 06:15:54 EST 2005
On Sat, 2005-07-09 at 18:23 -0700, Alan Coopersmith wrote:
> Keith Packard wrote:
> > On Sat, 2005-07-09 at 13:10 -0700, Alan Coopersmith wrote:
> >>Is there a shared Makefile.am repository on the system similar to the
> >>one for configure.ac m4 shared macros? If not, should we have a package
> >>of common rules that's in util/modular which other packages can get common
> >>rules from?
> >
> >
> > Where would these files live, and how would the Makefile.am locate them?
>
> That's the part I wasn't sure about. Do any other multi-module projects
> do anything like this or would we be breaking new ground?
Well, something similar is done for the gtk-doc documentation tool.
There is a script 'gtkdocize' that copies gtk-doc.make from
$(datadir)/gtk-doc/ into the toplevel of the project, then that
is included into particular Makefile.am's.
This is done because gtk-doc has a set of pretty complex make rules
(150 lines or so) that were very hard to maintain when they were
cut-and-pasted into place.
Regards,
Owen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.x.org/archives/xorg-modular/attachments/20050710/c351423e/attachment.pgp
More information about the xorg-modular
mailing list