[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Files from gnulib
From: |
Paul Eggert |
Subject: |
Re: Files from gnulib |
Date: |
Mon, 24 Jan 2011 15:26:06 -0800 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 |
On 01/23/11 20:01, Eli Zaretskii wrote:
> The program used to unpack the .tar.gz archives automatically renames
> ant .FOO files to _FOO while unpacking, so that's not a problem.
OK, so it sounds like there's already part of a solution here,
in that files are automatically renamed to avoid the MS-DOS
restrictions.
How about if we expand on that solution, as follows:
* Just before creating a tarball for MS-DOS, apply
the following substitutions to the contents of all
files that go into the tarball:
s/c++defs\.h/cxxdefs\.h/g
s/\([a-zA-Z0-9_]*\)\.in\.h/_\1.h/g
The latter substitution, for example, replaces all
instances of unistd.in.h with _unistd.h.
* Similarly, just before creating the tarball, rename
all the source files according to the above patterns.
* The above can be done in the make-dist implementation
for MS-DOS.
* The conflicting names in m4/* don't matter, for the same
reason that conflicts in admin/* and tests/* don't matter:
these files are not used in an MS-DOS build.
With this approach, the problem of MS-DOS names is handled
entirely in the MS-DOS port.
- Files from gnulib, Eli Zaretskii, 2011/01/23
- Re: Files from gnulib, Eli Zaretskii, 2011/01/23
- Re: Files from gnulib, Paul Eggert, 2011/01/23
- Re: Files from gnulib, Bruno Haible, 2011/01/23
- Re: Files from gnulib, Stefan Monnier, 2011/01/23
- Re: Files from gnulib, Eli Zaretskii, 2011/01/23
- Re: Files from gnulib,
Paul Eggert <=
- Re: Files from gnulib, Eli Zaretskii, 2011/01/24
- Re: Files from gnulib, Paul Eggert, 2011/01/25
- Re: Files from gnulib, Eli Zaretskii, 2011/01/25
- Re: Files from gnulib, Bastien ROUCARIES, 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, Stefan Monnier, 2011/01/25
- Re: Files from gnulib, Eli Zaretskii, 2011/01/25
- Re: Files from gnulib, Stefan Monnier, 2011/01/25