develooper Front page | perl.module-authors | Postings from January 2010

conditional make with ExtUtils::MakeMaker

Jose Luis Martinez
January 28, 2010 02:47
conditional make with ExtUtils::MakeMaker
Message ID:

I'm creating a Client/Server perl application, and would like the 
makefile only build/install what is needed for clients and for servers 
when specified. Is there a standard way to do this?

I have this MakeFile:

The thing is that NRD/ and bin/nrd should only be installed and 
doing a "server install", and bin/send_nrd should be installed on a 
"client install".

Also: not all modules are required for client operation (Net::Server and 
Net::CIDR are only for server mode)

Thanks in advance,

Jose Luis Martinez Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About