|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Re: Automatic "postalias"
From: Ralf Hildebrandt (R.Hildebrandt
tu-bs.de)Date: Tue Feb 08 2000 - 09:09:18 CST
- Next message: Keith Stevenson: "Re: Limiting the size of mail box"
- Previous message: Jürgen Fluk: "Automatic "postalias""
- In reply to: Jürgen Fluk: "Automatic "postalias""
- Reply: Ralf Hildebrandt: "Re: Automatic "postalias""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Feb 08, 2000 at 04:03:35PM +0100, Jürgen Fluk wrote:
> This sounds like a FAQ to me, but I didn't find it in the FAQ nor mailing
> list nor docs:
>
> "postalias" (and "postmap") have to be called manually on change of source
> files.
> I just was trapped again in forgetting this. Couldn't this be solved
> automatically?
Use a Makefile:
all: aliases.db relocated.db
aliases.db: aliases.proto
postalias aliases.proto && mv aliases.proto.db aliases.db
%.db: %.proto
postmap $*.proto && mv $*.proto.db $*.db
clean:
rm *~
-- Ralf Hildebrandt <R.Hildebrandttu-bs.de> www.stahl.bau.tu-bs.de/~hildeb Remember - if all you have is an axe, every problem looks like hours of fun.
- Next message: Keith Stevenson: "Re: Limiting the size of mail box"
- Previous message: Jürgen Fluk: "Automatic "postalias""
- In reply to: Jürgen Fluk: "Automatic "postalias""
- Reply: Ralf Hildebrandt: "Re: Automatic "postalias""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]