automake
[Top][All Lists]
Advanced

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

overriding variables?


From: Alex Hornby
Subject: overriding variables?
Date: Wed, 26 Sep 2001 12:31:33 +0100 (BST)

In the CVS head I'm getting automake warnings if I override the value
of a variable. 

I have a common.am which is included at the top of all my Makefile.am
files which sets the value for "PERLINST" to a sensible default, but
occasionally one of the directories needs a different value, so I
override it.

e.g.
## common.am
PERLINST = perl/foo
...

## Makefile.am
include $(top_srcdir)/config/common.am
PERLINST = perl/var
...

This results in messages like:

Makefile.am:19: PERLINST multiply defined in condition TRUE

  PERLINST (User, where = 19) =
  {
    TRUE => perlidl/$(PACKAGE)/$(subdir)
  }

This used to work in 1.4. Assuming this is not a bug in CVS automake,
whats the official way to override common values nowadays?

Thanks in advance,
Alex.



reply via email to

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