This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Question about include makefile


Hi all,

I wrote an Include makefile containing
Autoconf statements like EXTRA_DIST, SUBDIRS, etc.

Well, when I include the makefile above into another
makefile, Automake doesn't set these variables...

For instance, I wrote an include makefile like this:

## myfile.mk
...
SUBDIRS = \
  dir1 \
  dir2

EXTRA_DIST = \
  file1 \
  file2

...

and then I've included it into another make file like this:

## another.mk
...
all: target1 target2
...
include myfile.mk

any idea?

____________________________________
Giuseppe Greco                                 System Architect
Agamura Corp.


phone: +41 (0) 91 604 67 65
mobile: +41 (0) 76 390 60 32
email:   giuseppe dot greco at agamura dot com
web:    http://www.agamura.com
____________________________________

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]