From: Michael R. <mr...@bl...> - 2004-01-23 06:01:49
|
I see. Since the default has changed, the docs should really mention that the only safe way to have automatic rebuilding is to install autotools in the project. Checking in the configure script does seem safe and reasonable. Along that line, it also seems like there's such a short leap between "project source code" and "a package in a local package archive whose source happens to be in the project" that maybe wigwam4 should provide tools to make the latter easy, so projectctl is no longer necessary, and there can be stable releases of in-project libraries/services without using branches. (Hmm, actually that won't be so hard...maybe I'll do it that way under wigwam 3.) Mike Dave Benson writes: > yep, i totally agree. ultimately the right thing is to > have a clear/obvious way that projectctl users can say whether they want > 'autogen.sh' etc run at 'projectctl configure' time. > > autoconf implementations have provided poor interface stability. > so checking in 'configure' scripts, unpleasant as it is, > is probably appropriate. > > so it seems that AM_MAINTAINER_MODE() is the most precise > interface anywys, since the exact semantics are subtle. > > (additionally the default has changed (from false to true), so > it's unstable terrain.) > > - dave > > > On Thu, Jan 22, 2004 at 09:07:27PM -0800, Anthony Molinaro wrote: > > Actually, I tend to prefer the use of AM_MAINTAINER_MODE because I > > check configure scripts into CVS which will be run on many different > > machines, many of which would fail to remake any of the > > autoconf/automake because of extremely old versions of these. > > > > I guess one could avoid this by including autoconf/automake/etc > > and dependencies. Anwyay, just mentioning this because it may > > not always be a bad idea, just one that could cause problems if > > used in the wrong way. > > > > -Anthony > > > > On Thu, Jan 22, 2004 at 05:25:33PM -0800, Michael Radford wrote: > > > Ah, well of course, one way to avoid this problem is to not cut and > > > paste AM_MAINTAINER_MODE into your configure.ac in the first place, so > > > the automatic re-automake/autoconf rules are generated by default. :) > > > > > > So never mind.... Maybe I will add a note in the docs warning that > > > AM_MAINTAINER_MODE is a bad idea in wigwam projects. > > > > > > Mike > > > > > > I wrote: > > > > It seems that currently, when building project sources in > > > > $PLAYPEN_ROOT/src, projectctl assumes that if a configure script is > > > > present, it is up to date. (It only runs autogen.sh/bootstrap/whatever > > > > if configure is not found.) > > > > > > > > Since we're operating out of cvs, however, this is a bad assumption. > > > > When src/configure.ac is changed, we need to rerun autoconf. And > > > > likewise for Makefile.am's and automake. > > > > > > > > One possible way to make this happen automatically for normal automake > > > > projects is to pass --enable-maintainer-mode on the configure command > > > > line (assuming we find AM_MAINTAINER_MODE in configure.ac, I guess). > > > > > > > > Any opinions on this, or better/more robust ways to handle it? Should > > > > projectctl get smarter and start trying to compare file dates itself? > > > > > > > > Mike > > > > > > > > > > > > ------------------------------------------------------- > > > > The SF.Net email is sponsored by EclipseCon 2004 > > > > Premiere Conference on Open Tools Development and Integration > > > > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > > > > http://www.eclipsecon.org/osdn > > > > _______________________________________________ > > > > Wigwam-devel mailing list > > > > Wig...@li... > > > > https://lists.sourceforge.net/lists/listinfo/wigwam-devel > > > > > > > > > ------------------------------------------------------- > > > The SF.Net email is sponsored by EclipseCon 2004 > > > Premiere Conference on Open Tools Development and Integration > > > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > > > http://www.eclipsecon.org/osdn > > > _______________________________________________ > > > Wigwam-devel mailing list > > > Wig...@li... > > > https://lists.sourceforge.net/lists/listinfo/wigwam-devel > > > > -- > > ------------------------------------------------------------------------ > > Anthony Molinaro <ant...@ov...> > > > > > > ------------------------------------------------------- > > The SF.Net email is sponsored by EclipseCon 2004 > > Premiere Conference on Open Tools Development and Integration > > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > > http://www.eclipsecon.org/osdn > > _______________________________________________ > > Wigwam-devel mailing list > > Wig...@li... > > https://lists.sourceforge.net/lists/listinfo/wigwam-devel > > -- |