automake
[Top][All Lists]
Advanced

[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

Alexandre,
Thanks very much for your support!

Have a nice weekend.

Gius_.

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/automake.mk.

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 Makefile.am, this included file will be 
   distributed with your package for the same reason Makefile.am is
   distributed.  So this file should be *inside* your source tree,
   or you will have surprises when you run `make dist'.

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

include automake.mk

or 

include $(top_srcdir)/makefiles/automake.mk

[...]
---------------------------------------------------
Giuseppe Greco
::agamura::


phone: +41 (0) 91 604 67 65
mobile: +41 (0) 76 390 60 32
email: address@hidden
web: http://www.agamura.com

---------------------------------------------------

reply via email to

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