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

Re: svn copy conflicts with autotools ?

From: Leonardo Boiko <leoboiko_at_conectiva.com.br>
Date: 2004-12-01 13:50:11 CET

Eric PAIRE wrote:
> The problem is that all the dates of the checked out files have been
> modified,
> and when running 'make', the first thing run is 'autoconf' and
> 'automake', thus
> modifying source directory files (configure, ...).

You seem to keep generated files like "Makefile" and "configure" in the
repository. We follow a different approach; no generated files are
versioned, not even auxiliary scripts. A developer who wants to compile
from repository should have the correct autotoolset version and run
"autoreconf -ifs" and "configure" first.

This is what a svn:ignore looks like for a typical top_srcdir:

Note that we usually build from the "build" subdirectory, not directly
from top_srcdir, and that auxiliary files like "config.guess" are kept
in "aux".

If a developer wants to compile without using autotools, he should use a
distribution tarball (generated by "make dist"), not the subversion sources.

It works :)

Leonardo Boiko

Received on Wed Dec 1 16:36:16 2004

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

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