[Catalyst] Adding build scripts to Makefile.PL

2010-05-10 Thread Bill Moseley
I have a number of scrips that need to be run when building an application. For example, I have a script that minifies javascript and css. In many cases it's a real Makefile dependency -- need to run a command to turn one file into another -- but in some cases don't know the sources of the target

Re: [Catalyst] Adding build scripts to Makefile.PL

2010-05-10 Thread Florian Ragwitz
On Mon, May 10, 2010 at 06:15:03PM -0700, Bill Moseley wrote: >I have a number of scrips that need to be run when building an >application. �For example, I have a script that minifies javascript and >css. �In many cases it's a real Makefile�dependency�-- need to run a >command to tu

Re: [Catalyst] Adding build scripts to Makefile.PL

2010-05-11 Thread Tomas Doran
On 11 May 2010, at 06:31, Florian Ragwitz wrote: Anyone have examples of how to set this up in Makefile.PL (which uses Module::Install)? Module::Install has a postamble() command to add makefile snippets to the generated Makefile.PL I'd love to see a recipe for how to do this on the wi

Re: [Catalyst] Adding build scripts to Makefile.PL

2010-05-11 Thread Bill Moseley
On Mon, May 10, 2010 at 9:31 PM, Florian Ragwitz wrote: > On Mon, May 10, 2010 at 06:15:03PM -0700, Bill Moseley wrote: > >I have a number of scrips that need to be run when building an > >application. For example, I have a script that minifies javascript > and > >css. In many cases

Re: [Catalyst] Adding build scripts to Makefile.PL

2010-05-11 Thread Peter Edwards
On 11 May 2010 14:49, Bill Moseley wrote: > I've used postamble to add new targets ("make foo") but I'm not clear how > to make just "make" depend on them. Maybe that's not the correct approach, > but I want our existing tools that build RPMs to run this code as part of > the normal make proces