[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: making config files
From: |
Russ Allbery |
Subject: |
Re: making config files |
Date: |
Wed, 13 Jan 2010 13:33:26 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Daniel Pocock <address@hidden> writes:
> Thanks for that - the sed example appears to be the type of thing I want.
> However, is there a more concise way to do this? I was thinking there may
> be some way to invoke sed or m4 on a template in much the way that gcc is
> invoked for *.c
Half of that equation would be a more generic script. Attached is what we
use for INN (which has a bunch of INN-specific bits, but also has the
basic framework for things).
The other half would be to set up a way of automatically running that
script on particular files, and that's something I've never done. I just
write explicit rules.
--
Russ Allbery (address@hidden) <http://www.eyrie.org/~eagle/>
fixconfig.in
Description: Text document