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 turn one file into another -- but in some cases don't know the
>    sources of the targets (i.e. a script just finds all .css files and
>    minifies them) so might just want to run a command every time "make" is
>    run.

You can do globbing in your Makefile.PL, or use a script to just find
the files, and have a target that depends on whatever the script
outputed, or whatever.

>    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


-- 
BOFH excuse #260:
We're upgrading /dev/null

Attachment: signature.asc
Description: Digital signature

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to