Subject: Re: how to handle dynamic config-file generation?
To: Julio M. Merino Vidal <jmmv84@gmail.com>
From: Geert Hendrickx <geert.hendrickx@ua.ac.be>
List: tech-pkg
Date: 08/07/2005 16:01:19
On Sun, Aug 07, 2005 at 03:49:47PM +0200, Julio M. Merino Vidal wrote:
> On 8/7/05, Geert Hendrickx <geert.hendrickx@ua.ac.be> wrote:
> > I could also create the config file manually from the pkg's Makefile,
> > instead of patching the original Makefile.in template. (The "make
> > config" target basically just calls the program with --dump-config,
> > pipes the std output to the default config location and chmods it.)
> >
> > I think that would require less work.
>
> Sure; if all that's required is to run the program with --dump-config,
> that is the best (and simplest) way to do it.
Ok. I have put this in a post-install target.
Thanks for your advice.
GH