Re: svn copy conflicts with autotools ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux