[Top][All Lists]

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

Re: Question about include makefile

From: Giuseppe Greco
Subject: Re: Question about include makefile
Date: 13 Mar 2003 20:56:39 +0100

On Sun, 2003-03-09 at 19:59, Alexandre Duret-Lutz wrote:
>>> "Giuseppe" == Giuseppe Greco <address@hidden> writes:

 Giuseppe> Hi all,
 Giuseppe> I wrote an Include makefile containing
 Giuseppe> Autoconf statements like EXTRA_DIST, SUBDIRS, etc.

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

Hi Giuseppe,

What do you mean by "doesn't set"?  Could you explain what you got,
how you got it, and what you expected?
I've written a makefile named which contains the following

aclocal.m4 \
configure \
install-sh \ \
missing \
mkinstalldirs \
confdefs.h \


Then, I've written a like this:

##   description   : File to be processed with 'automake'
##                   to produce ''.
##   begin         : July 1, 2002
##   author        : Giuseppe Greco


all-local: html pdf ps

include $(zt_automake_mk)

zt_automake_mk is just a variale set to

Well, after running libtoolize, aclocal, automake,
and autoconf, the variables set in
have no effects; for instance, when I issue the
command make maintainer-clean, the files listed
in MAINTAINERCLEANFILES are not removed.

On the other side, if I put the statement contained
in directly in my, all works

That is it!


Giuseppe Greco

phone: +41 (0) 91 604 67 65
mobile: +41 (0) 76 390 60 32
email: address@hidden


reply via email to

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