automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fwd: How do I get make to run a program during the make operation?]


From: Bernd Jendrissek
Subject: Re: [Fwd: How do I get make to run a program during the make operation?]
Date: Tue, 25 Mar 2008 15:53:02 +0200

On Fri, Mar 21, 2008 at 4:08 PM, Jim <address@hidden> wrote:
>  noinst_PROGRAMS = poll.spec
>  poll_tmpl_SOURCES = poll.tmpl FORCE
>  .tmpl.spec:
>         ./logpoll.pl $<
>
>  FORCE:
[snip]
>  Can anyone suggest how I might accomplish what I thought was going to be
>  a simple task?

Why not just take advantage of the fact that automake makes "all"
depend on "all-local" if you define that target:

all-local:
    $(srcdir)/logpoll.pl $(srcdir)/poll.tmpl




reply via email to

[Prev in Thread] Current Thread [Next in Thread]