On 2012-1-6 12:22 , Joshua Root wrote: > On 2012-1-6 12:04 , Clemens Lang wrote: >> Hi, >> >> On Fri, Jan 06, 2012 at 06:39:32AM +1100, Joshua Root wrote: >>> Looks like src/machista1.0/machista_wrap.c is being regenerated at some >>> point during the build process. Can we stop that from happening, since >>> it's checked into svn? I'd think we want to only regenerate it manually, >>> like configure. >> >> Yeah, I didn't think of those still on Snow Leopard when writing the >> Makefile for this file. Apple stopped shipping SWIG in Lion, and this >> behaves correctly in a MacPorts configured without SWIG. >> IMHO, since it's a generated file it should have a Makefile rule, but >> because there's no SWIG in Lion it must be in the repository, too. >> >> Suggestions for a clean solution welcome. > > It shouldn't be hard to write the make rules such that the .c depends on > the .i and swig only gets run when the former is missing or the latter > has changed.
Actually it already does that. The problem is just that 'make clean' is deleting the .c, which is wrong given that it's in version control. - Josh _______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
