Thanks for the idea; however ideally I don't want users to worry about the subdir.mk's at all. (Having the Debug/Release directory in source control is in itself not very esthetic.) I was thinking along the lines of having eclipse create one big makefile with all the subdir.mk's expanded inside it, but I don't know how to do this.
On Thu, Feb 12, 2009 at 12:17 PM, Bil Kleb <[email protected]> wrote: > Jonathan Naor wrote: > >> Hi, >> > > Hi. > > [...] The problem is that each time a new subdirectory is added, eclipse >> generates a "sub-makefile" (called subdir.mk <http://subdir.mk>) - which >> must be added to sourcecontrol manually for the project to compile on the >> build machine. >> > > Add a pre-commit hook that runs 'make -n'. If it returns an > error code (e.g., because subdir.mk is missing), reject the commit. > > Regards, > -- > Bil Kleb > http://fun3d.larc.nasa.gov > http://twitter.com/bil_kleb > _______________________________________________ > Cruisecontrolrb-users mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users >
_______________________________________________ Cruisecontrolrb-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
