automake-patches
[Top][All Lists]
Advanced

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

[PATCH] {maint} repo: don't commit generated files in the git repository


From: Stefano Lattarini
Subject: [PATCH] {maint} repo: don't commit generated files in the git repository anymore
Date: Fri, 9 Dec 2011 10:17:38 +0100
User-agent: KMail/1.13.7 (Linux/2.6.30-2-686; KDE/4.6.5; i686; ; )

Another patch to be applied after the 1.11.2 release.

While conceptually very simple, this patch is quite large in size,
since the diffs contain all the text of the removed configure and
Makefile.in files; so I've attached it compressed.

Regards,
  Stefano

-*-*-*-

repo: don't commit generated files in the git repository anymore

It has been quite some time since autoconf and libtool have stopped
committing the generated autotools files in their git repositories,
with no significant ill effects we're aware of.  It's true that the
autoconf bootstrap process has now the minor annoyance that a
pre-installed autoconf is required to complete it; but luckily
automake will not have a similar annoyance, since our bootstrap
script take care, through some hoops, to use the very automake and
aclocal versions from the current git checkout to generate the
required aclocal.m4 and Makefile.in files.  In fact, this has been
a necessity also in the past, because automake has been known to
use in its own build system new development features that hadn't
been present in any previously released automake distribution.

* aclocal.m4: Delete.
* configure: Likewise.
* Makefile.in: Likewise.
* doc/Makefile.in: Likewise.
* lib/Automake/Makefile.in: Likewise.
* lib/Automake/tests/Makefile.in: Likewise.
* lib/Makefile.in: Likewise.
* lib/am/Makefile.in: Likewise.
* m4/Makefile.in: Likewise.
* tests/Makefile.in: Likewise.
* .gitignore: Ignore configure, aclocal.m4, and all the
Makefile.in files.
* configure.ac (AC_PREREQ): New macro call, to require the
latest autoconf (2.68 for the moment).
---
 .gitignore                     |    3 +
 ChangeLog                      |   20 +
 Makefile.in                    | 1340 --------------
 aclocal.m4                     |   35 -
 configure                      | 3980 ----------------------------------------
 configure.ac                   |    1 +
 doc/Makefile.in                |  847 ---------
 lib/Automake/Makefile.in       |  671 -------
 lib/Automake/tests/Makefile.in |  616 -------
 lib/Makefile.in                |  647 -------
 lib/am/Makefile.in             |  445 -----
 m4/Makefile.in                 |  484 -----
 tests/Makefile.in              | 1565 ----------------
 13 files changed, 24 insertions(+), 10630 deletions(-)
 delete mode 100644 Makefile.in
 delete mode 100644 aclocal.m4
 delete mode 100755 configure
 delete mode 100644 doc/Makefile.in
 delete mode 100644 lib/Automake/Makefile.in
 delete mode 100644 lib/Automake/tests/Makefile.in
 delete mode 100644 lib/Makefile.in
 delete mode 100644 lib/am/Makefile.in
 delete mode 100644 m4/Makefile.in
 delete mode 100644 tests/Makefile.in

Attachment: 0001-repo-don-t-commit-generated-files-in-the-git-reposit.patch.bz2
Description: application/bzip


reply via email to

[Prev in Thread] Current Thread [Next in Thread]