Hi,

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:
http://code.google.com/p/nsca2/source/browse/trunk/Makefile.PL

The thing is that NRD/Daemon.pm 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
[email protected]

Reply via email to