Re: mmc patch

David Hakim <dhakim-Gkm/TONP9n1Wk0Htik3J/[email protected]> Mon, 27 Jan 2003 13:47:37 -0500
Newsgroups gmane.comp.lang.moto.devel
Message-ID <[email protected]>
Well, this is all I needed to hear! Ok then, the patch will be applied 
shortly. I have one last questions about it though. So right new we 
will have

	mmc -n mysite /home/mysite

which drops off mod_mysite.so in the local directory. And we will have

	mmc -i -n mysite /home/mysite

which drops off mod_mysite.so in the apache libexec directory. What do 
people think about

	mmc -i <path> -n mysite /home/mysite

which would drop off mod_mysite.so in whatever path was specified ?

I think that might be kinda cool too :)
-Dave

BTW: Cyb.org, please apply your patch when ready! And thanks for the 
cool ideas!

On Sunday, January 26, 2003, at 07:06  PM, Cory Wright wrote:

> On Sun, Jan 26, 2003 at 05:33:54PM -0500, David Hakim wrote:
>> 	Cyb.org recently sent me a patch for mmc that includes a new -i
>> command line option. Only when the -i option is passed will mmc 
>> install
>> the compiled DSO into the apache libexec directory. If the -i option 
>> is
>> not passed than the DSO is copied to the current directory. What do
>> people think of this ? I'm a little worried because it changes 
>> existing
>> behavior ... but not in a large way. I also remember there had been a
>> discussion at one time of moving compiled DSOs to whatever directory
>> mod_moto.so was installed in.
>>
>> Thoughts, comments ?
>
> I think this is a terrific idea.  Installation should only be done 
> where
> explicitly indicated.  This is actually one thing that I have always 
> found
> annoying about compiling new modules.  What would be nice is if it 
> could
> be run in a similar fashion to 'make', or even use 'make' so that a new
> module would only be compiled if there were changes to the code that is
> about to be compiled.   Something like this would make it easy to 
> compile
> first, then install when ready:
>
>   mmc -n mysite /home/mysite
>   mmc -i -n mysite /home/mysite
>
> A 'make'-like approach could be handy down the road if people start 
> using
> Moto to build really large sites with lots of code.
>
> Just my thoughts,
>
> Cory
>
> --
> Cory Wright
> Stand Blue Technology
> http://www.standblue.net/
>