bug-automake
[Top][All Lists]
Advanced

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

Trouble w/ distcleaning vpath builds of elisp files using non-recursive


From: Elias Pipping
Subject: Trouble w/ distcleaning vpath builds of elisp files using non-recursive automake
Date: Fri, 25 Sep 2009 15:19:03 +0200

Hi,

I've come across a problem w/ running distclean for vpath builds of
elisp files when using non-recursive automake.

The following script illustrates the problem:

<<< SNIP
cd `mktemp -d`

cat > Makefile.am <<'EOF'
dist_lisp_LISP = $(srcdir)/src/sample.el
EOF

cat > configure.ac <<EOF
AC_INIT([automake-failure],[0.0.1],address@hidden)
AC_PREREQ([2.64])
AC_CONFIG_SRCDIR([src])
AC_CONFIG_AUX_DIR([build-aux])

AM_INIT_AUTOMAKE([-Wall -Werror foreign dist-xz no-dist-gzip])
AM_PATH_LISPDIR

AC_CONFIG_FILES([
  Makefile
])
AC_OUTPUT
EOF

mkdir src
touch src/sample.el

autoreconf -isf
./configure
make distcheck
<<< SNIP

The above should work from my understanding; instead, I get

  ERROR: files left in build directory after distclean:
  ./sample.elc
  make[1]: *** [distcleancheck] Error 1

because distclean removes the .elc files from the source dir instead
of the build dir.

This is w/ automake 1.11.


-- Elias




reply via email to

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