John Ling writes: > Hi Ralf, yes that's exactly what I am trying to do. > > Since I'm using automake 1.7.7 then this is why it isn't including the > m4 directory. > > I'll just use EXTRA_DIST for now then until I upgrade to a more recent > Automake. >
Hi, I needed to use use EXTRA_DIST in a similar situation with Automake version 1.9.3, in order for make distcheck to work. In my case, the m4 directory was empty, so as the following comments describe it, I consider this to be a bug in Automake. $ grep m4 configure.ac Makefile.am configure.ac:AC_CONFIG_MACRO_DIR([m4]) Makefile.am:ACLOCAL_AMFLAGS = -I m4 Makefile.am:# Workaround a bug in automake - inclusion of the "m4" directory should Makefile.am:# be triggered by the presence of either, "AC_CONFIG_MACRO_DIR([m4])" in Makefile.am:# "configure.ac", or "ACLOCAL_AMFLAGS = -I m4" in "Makefile.am". Makefile.am:EXTRA_DIST += m4 -- Jeffrey Sheinberg