[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Minor patch for Makefile.in

From: Mo DeJong <mdejong_at_cygnus.com>
Date: 2001-06-05 11:19:10 CEST

This patch should sort of get `make check` working
for the $builddir != $srcdir case. There is still
a problem after adding this patch because the
configure script needs to create a subversion/client/tests
directory in the build dir. You can hack that like so:

% mkdir -p subversion/client/tests

Now, I am the first to admit that this may not be
the best patch ever, but you can't run a chmod
on something in the srcdir since it can be on
a read only filesystem. This patch just copies
the .sh files from the test dir before running
chmod on them.

Mo

Index: Makefile.in
===================================================================
RCS file: /usr/local/tigris/data/helm/cvs/repository/subversion/Makefile.in,v
retrieving revision 1.13
diff -u -r1.13 Makefile.in
--- Makefile.in 2001/06/04 22:06:39 1.13
+++ Makefile.in 2001/06/05 09:14:49
@@ -101,6 +101,10 @@
        echo > $$logfile ; \
        failed=no ; \
        list='$(TEST_PROGRAMS)'; for prog in $$list; do \
+ if test "$(abs_srcdir)" != "$(abs_builddir)" && \
+ test ! -f $$prog ; then \
+ cp $(abs_srcdir)/$$prog $$prog ; \
+ fi; \
            chmod a+x $$prog ; \
            progbase=`echo $$prog | sed 's?.*/??'` ; \
            progdir=`echo $$prog | sed 's?/[^/]*$$??'` ; \

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:31 2006

This is an archived mail posted to the Subversion Dev mailing list.