>>> "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
[...]