Malte S. Stretz wrote:
On Wednesday 28 July 2004 20:44 CET Michael G Schwern wrote:

Here's the standard work arounds:

1) Don't bother with the distinction between bin and sbin (its kinda
arbitrary IMHO) just put everything in bin.


I once tried to abuse INST_BIN for installations to sbin (as that one isn't used anyway). Which resulted in loads of nasty hacks, in the end I just told the packagers "if you want to have the dameon in sbin, move it manually" :)


2) Instead of putting config files in /etc, make the config files a
.pm file and install it like one.  See Net::Config as an example.

/etc is one of the cases. App can have DATADIR, LOGDIR and other.


If that doesn't work for you, have a look at the current Mail::SpamAssassin Makefile.PL. It's horrible, it's huge, but it works with /etc, even guesses reasonable defaults.
Just a thought something similar could be integrated into standalone module like Module::Install::Application(or something else). I don't think that I can do it.



[...]
As a final note, if you're finding MakeMaker too hard to customize try
Module::Build.


Cheers,
Malte

Reply via email to