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

Minor patch for Makefile.in

From: Mo DeJong <mdejong_at_cygnus.com>
Date: 2001-06-04 08:08:55 CEST


Here is a small little patch to get the toplevel Makefile
going when buildir != srcdir (this does not fix things,
it just gets the process started). I noticed that the
toplevel configure.in now emits only a single makefile.


If all the existing Makefile.am and Makefile.in files
are going to be removed to make way for this custom
build process, how should we expect the system to
know what subdirectories it should create in the
build directory? It seems like it would be a good
idea to have this build.conf thing deal with that.
It includes sections like:

type = lib
path = subversion/libsvn_delta
group = libs

Anyone know how that could be changed to emit
some kind of init statement like:

all: mkdir_init ...

        mkdir subversion
        mkdir subversion/libsvn_delta


Is it really such a good idea to try to invent a new
build system so close to the time you want to release
something? I know the old system was not perfect,
but at least it already worked.

Mo DeJong
Red Hat Inc

Index: Makefile.in
RCS file: /usr/local/tigris/data/helm/cvs/repository/subversion/Makefile.in,v
retrieving revision 1.9
diff -u -r1.9 Makefile.in
--- Makefile.in 2001/06/01 21:32:55 1.9
+++ Makefile.in 2001/06/04 05:58:02
@@ -1,5 +1,6 @@
 top_builddir = .
+srcdir = @srcdir@
 top_srcdir = @top_srcdir@
 abs_builddir = @abs_builddir@
 abs_srcdir = @abs_srcdir@
Index: configure.in
RCS file:
retrieving revision 1.86
diff -u -r1.86 configure.in
--- configure.in 2001/06/01 21:32:55 1.86
+++ configure.in 2001/06/04 05:58:03
@@ -233,14 +233,14 @@
     # Check whether they've installed GNU make
     if make --version > /dev/null 2>&1; then
- INCLUDE_OUTPUTS="include build-outputs.mk"
+ INCLUDE_OUTPUTS="include \$(srcdir)/build-outputs.mk"
         # BSDi make
- INCLUDE_OUTPUTS=".include \"build-outputs.mk\""
+ INCLUDE_OUTPUTS=".include \"\$(srcdir)/build-outputs.mk\""
- INCLUDE_OUTPUTS="include build-outputs.mk"
+ INCLUDE_OUTPUTS="include \$(srcdir)/build-outputs.mk"

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.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.