bug-gnulib
[Top][All Lists]
Advanced

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

Re: "make dist" does not include some Gnulib files


From: John Zaitseff
Subject: Re: "make dist" does not include some Gnulib files
Date: Wed, 24 May 2017 05:08:28 +1000
User-agent: Mutt/1.5.23 (2014-03-12)

Hi,

In reply to my own email:

> I'm not sure whether the following is a bug or a feature: running
> "make dist" on a project will not include a fair number of Gnulib
> M4 macros.

I've discovered that most of the files are from the obsolete module
"gettext", and that is why they have not been included.

I've removed that module from the latest "master" branch.  Now when
I build, most of the problems I've mentioned go away:

> In particular, I am using Gnulib in my Star Traders program, a
> simple game of interstellar trading.  The Git repository can be
> browsed at http://www.zap.org.au/gitweb/trader.git .  The "master"
> branch contains my source code without auto-generated files.
>
> If you clone my repository, then run "./build-aux/bootstrap" with
> Autoconf 2.69, Automake 1.15, Gettext 0.19.8.1 and Gnulib as at
> commit abdd68df1a22db62a7eb68ed93fed51f7988578e, you will get the
> files in the "with-autogenerated" branch.
>
> If you then run "./configure && make && make dist", the resulting
> tar.gz and tar.xz archives SHOULD, I believe, contain everything
> in the "with-autogenerated" branch, except for Git-specific files.
>
> However, and this is what I think is a bug, the following files
> are NOT included in the generated archives:
>
>   m4/glibc2.m4
>   m4/gnulib-tool.m4
>   m4/intdiv0.m4
>   m4/intl.m4
>   m4/intldir.m4
>   m4/intmax.m4
>   m4/inttypes-pri.m4
>   m4/inttypes_h.m4
>   m4/lcmessage.m4
>   m4/lock.m4
>   m4/printf-posix.m4
>   m4/size_max.m4
>   m4/stdint_h.m4
>   m4/threadlib.m4
>   m4/uintmax_t.m4
>   m4/visibility.m4
>   m4/xsize.m4

Now only one file is not included in the generated archive:

   m4/gnulib-tool.m4

I'm guessing that that file is not needed for actual building?  Is
it a temporary file used by gnulib-tool and thus should be ignored
and treated as a build file only?

Yours truly,

John Zaitseff

--
John Zaitseff                    ,--_|\    The ZAP Group
Phone:  +61 2 9643 7737         /      \   Sydney, Australia
E-mail: address@hidden   \_,--._*   http://www.zap.org.au/
                                      v



reply via email to

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