On Wed, Aug 23, 2006 at 08:20:41PM +0200, Ralf Wildenhues wrote: > Hello Robert, Christoph, all, > > * Robert Schiele wrote on Wed, Aug 23, 2006 at 06:24:48PM CEST: > > > > The following patch does provide the feature as described above and I > > would like to see it in future automake releases. Comments, > > suggestions, questions, or rants are always welcome. > > Automake-1.9b has support for wildcards in dirlist entries. So, this: > echo "$aclocaldir/dirlist.d/*" >> $aclocaldir/dirlist > > and then having packages add a subdirectory below $aclocaldir/dirlist.d > would be an alternative approach. That said, I think not requiring > third-party packages' aclocal file directories be below $aclocaldir is > probably a good idea from a distributor's POV.
Exactly. Let's take GNOME in /opt/gnome/ as an example. If you have that you might want to have GNOME m4 files in /opt/gnome/share/aclocal/ but you may want to make some GNOME package also provide /usr/share/aclocal/dirlist.d/gnome that includes only the line "/opt/gnome/share/aclocal/". Sure you could also do this with some symbolic links but actually in my opinion the solution I provided is more clean since it does not invent a new way of doing something but instead provides a straight-forward extension of an existing one. > If Alexandre likes it, then what's missing from the patch before it > can be applied is a ChangeLog entry, an addition to the "For example" > part in the documentation right after your patch hunk would be nice, a > testsuite addition to make sure the feature works as intended, (note > that I'm not implying that you have to do this work), and a copyright I can provide all that stuff, given that someone tells me about the rules (if there are any) on how to name the testcases and/or whether it is ok to extend the existing one for the dirlist feature or whether a completely new one is prefered. > assignment of the author of the patch. Ok, since I am the author, one should just tell me what exactly is needed. Robert -- Robert Schiele Tel.: +49-621-181-2214 Dipl.-Wirtsch.informatiker mailto:[EMAIL PROTECTED] "Quidquid latine dictum sit, altum sonatur."
pgpxy6WBZVF04.pgp
Description: PGP signature