[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proposed gnulib renames
From: |
Bruno Haible |
Subject: |
Re: Proposed gnulib renames |
Date: |
Thu, 27 Jan 2011 11:14:53 +0100 |
User-agent: |
KMail/1.9.9 |
Paul Eggert wrote:
> There's no need to keep gnulib-cache.m4, since gnulib-tool is invoked only
> from Makefile.in.
I disagree. The gnulib documentation ([1], paragraph 1) recommends to put also
gnulib-cache.m4 into the repository.
The reason is that when a file is renamed in gnulib or some module dependency
is removed in gnulib, what happens at the next invocation of sync-from-gnulib?
- When gnulib-cache.m4 is present, gnulib-tool will add a file under the
new name and remove the old file. Because it knows that the file came from
gnulib.
- When gnulib-cache.m4 is missing, gnulib-tool will just add a file under
the new name, but leave the old file around, because it looks like that
file was genuine Emacs source.
So, if you routinely remove gnulib-cache.m4, over time the repository will
accumulate garbage files. Sometimes they don't hurt (if it's just a .c file),
but it can really get in the way and cause trouble (if it's a .h file).
Bruno
[1] http://www.gnu.org/software/gnulib/manual/html_node/VCS-Issues.html
- Re: Proposed gnulib renames, (continued)
- Re: Proposed gnulib renames, Eric Blake, 2011/01/26
- Re: Proposed gnulib renames, Paul Eggert, 2011/01/27
- Re: Proposed gnulib renames, Eli Zaretskii, 2011/01/27
- Re: Proposed gnulib renames, Eli Zaretskii, 2011/01/27
- Re: Proposed gnulib renames, Bruno Haible, 2011/01/27
- Re: Proposed gnulib renames, Paul Eggert, 2011/01/28
- Re: Proposed gnulib renames,
Bruno Haible <=
- Re: Proposed gnulib renames, Bruno Haible, 2011/01/27
- Re: Proposed gnulib renames, Paul Eggert, 2011/01/28
- Re: Files from gnulib, Eli Zaretskii, 2011/01/25
- Re: Files from gnulib, Jason Rumney, 2011/01/25
- Re: Files from gnulib, Stefan Monnier, 2011/01/25
- Re: Files from gnulib, Paul Eggert, 2011/01/25
- Re: Files from gnulib, Eli Zaretskii, 2011/01/25
- Re: Files from gnulib, Paul Eggert, 2011/01/25
- Re: Files from gnulib, Eli Zaretskii, 2011/01/25
- Re: Files from gnulib, Jim Meyering, 2011/01/26