:MM custom Makefile actions

Robin Barker Robin.Barker at npl.co.uk
Mon Oct 1 18:06:50 BST 2007




> I need to customise my Makefile.PL so that 'make clean' will, as well as
> doing its usual thang, also delete some extra files that get created
> when you run 'perl Makefile.PL'.  How do I do that?

Do you know the names of the files created?  If so:

WriteMakefile (
	...
	clean => { FILES => [qw(created.1 created.2)] },
	realclean => { FILES => [qw(created.3 created.4)] },
}

Robin
-------------------------------------------------------------------
This e-mail and any attachments may contain confidential and/or
privileged material; it is for the intended addressee(s) only.
If you are not a named addressee, you must not use, retain or
disclose such information.

NPL Management Ltd cannot guarantee that the e-mail or any
attachments are free from viruses.

NPL Management Ltd. Registered in England and Wales. No: 2937881
Registered Office: Serco House, 16 Bartley Wood Business Park,
                   Hook, Hampshire, United Kingdom  RG27 9UY
-------------------------------------------------------------------



More information about the london.pm mailing list