[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: 14 Mar 2003 06:53:27 +0100

Thanks very much for your support!

Have a nice weekend.


On Thu, 2003-03-13 at 22:09, Alexandre Duret-Lutz wrote:
>>> "Giuseppe" == Giuseppe Greco <address@hidden> writes:


 Giuseppe> include $(zt_automake_mk)

 Giuseppe> zt_automake_mk is just a variale set to
 Giuseppe> /usr/local/share/z-tools/makefiles/

That explains it all.  This won't work for two reasons.

1. include's argument must be a raw filename.  
   We don't support variables here.  
   (Except $(top_srcdir) and $(srcdir) for convenience.)

2. If you include a file in, this included file will be 
   distributed with your package for the same reason is
   distributed.  So this file should be *inside* your source tree,
   or you will have surprises when you run `make dist'.

In short, copy into your source tree, and include
it with



include $(top_srcdir)/makefiles/

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]