Re: conditionals

From:

tom fogal

Subject:

Re: conditionals

Date:

Thu, 11 Aug 2005 08:11:51 -0400

<address@hidden>D M writes:
> Is is perfectly legal to have following conditional in
>Makefile.am:
>
>if SOMETHING
>install-data-local:
> anything
>endif
Looks valid to me, according to
http://sources.redhat.com/automake/automake.html#Conditionals
However I'm a little perplexed as to why you would want to define
install-data-local. Isnt that a target automake will generate
automagically for you?
If you have a good reason for that (or I'm mistaken, and its not an
automake-generated target), then I'd say thats fine.
-tom