Re: Is that possible?

[email protected] (Torsten Foertsch)
Newsgroups perl.module.build
Message-ID <[email protected]>
On Sat 20 Sep 2008, Adam Kennedy wrote:
> The existance of gzip on the system shouldn't really be assumed.

Yes, but I need gzip only for "./Build dist" and that is what I as the 
author do. And I have control over my environment. I find the default 
behavior annoying. When the gz file already exists gzip without -f 
asks "do you really want to do that?"

On Fri 19 Sep 2008, Michael G Schwern wrote:
> >     * create a README file during ./Build dist using the
> > mk_README.sh script and
>
> Override create_readme() I think.

That was actually do_create_readme. However, in my case it was easier to 
override _main_docfile.

> >     * add the equivalent of a make target to create an RPM
>
> Just write an ACTION_rpm() in your subclass.

That works.

Thanks to both of you,
Torsten

--
Need professional mod_perl support?
Just hire me: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.