On Mon, Jul 28, 2025 at 01:10:56PM +0100, Gavin Smith wrote:
> On Sun, Jul 27, 2025 at 10:53:32PM +0100, Gavin Smith wrote:
> > Texinfo.pm does not exist in the tta/swig/perl directory, and although
> > it is listed in Makefile.am there is no rule to build it.
> 
> Just on the topic of "make dist", I wonder if it would help to track
> this file (and others) in git, if it needs to go into the distribution
> archive:

I do not think that it would be a good idea, as presumably the file
depends a lot on the swig version.  It would be a bit like tracking a .c
file obtained by xsubpp call.

> If I run the following, "make dist" completes:
> 
> touch tta/swig/perl/Texinfo.pm
> touch tta/swig/perl/perl_texinfo_wrap.c
> touch tta/swig/python/Texinfo.py
> touch tta/swig/python/python_texinfo_wrap.c
> 
> I'm not sure what happens if these files need to be rebuilt though.
> Probably the simplest way would be not to distribute these files.

I agree, they should always be built files, not distributed.

Distributing them could help users who would want to distribute the Perl
module only using MakeMaker, but I do not think that we should do
anything for that use case, the users should build using the autotools
based way and only after that use the MakeMaker stuff.

-- 
Pat

Reply via email to