Re: svn copy conflicts with autotools ?
Leonardo Boiko <[email protected]>
| Newsgroups | gmane.comp.sysutils.automake.general,gmane.comp.sysutils.autoconf.general,gmane.mail.eyebrowse.user |
|---|---|
| Organization | Conectiva S. A. |
| Message-ID | <[email protected]> |
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: autom4te.cache build Makefile.in configure aclocal.m4 config.h.in aux 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
signature.asc
(application/pgp-signature, 256 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBrb4Jzse6kja2B7QRAk0AAKCOeDmWeXcWrWP724ZEK1RJ/wfKzgCfTKTz mynOxhD/MiEduIBY+OPmRk8= =Ndy1 -----END PGP SIGNATURE-----