When using XT_PRE_RELEASE m4 macro, after a distcheck:

ERROR: files left in build directory after distclean:
./esdf-0.4pre0.tar.gz
./esdf-0.4pre0.tar.bz2
make[1]: *** [distcleancheck] Erreur 1

A trivial fix, that works in most of cases:

diff -ur orig/strategoxt-0.16M1/config/autoxt.m4 strategoxt-0.16M1/config/autoxt.m4
— orig/strategoxt-0.16M1/config/autoxt.m4 1970-01-01 01:00:00.000000000 +0100
+++ strategoxt-0.16M1/config/autoxt.m4 2005-08-29 17:00:00.000000000 +0200
@@ -381,8 +381,8 @@
SVN_REVISION=svn status -v -N -q ./ | awk "{ if(\$NF == ".") print \$$REVFIELD }"
AC_MSG_RESULT($SVN_REVISION)
else
- if test -e “svn-revision”; then
- SVN_REVISION=“cat svn-revision
+ if test -e “$srcdir/svn-revision”; then
+ SVN_REVISION=“cat $srcdir/svn-revision
AC_MSG_RESULT($SVN_REVISION)
else
SVN_REVISION=“0”

Submitted on 23 September 2005 at 01:17

Log in to post comments