"make dist" (and therefore "make distcheck") is
currently broken with the git HEAD.  Here's an excerpt
from near the end of the output of "make check":

make[7]: Leaving directory '/home/g/src/texinfo/GIT/tta/tests/info_tex'
make[6]: Leaving directory '/home/g/src/texinfo/GIT/tta/tests'
make[5]: Leaving directory '/home/g/src/texinfo/GIT/tta/tests'
 (cd swig && make  top_distdir=../../texinfo-7.2dev 
distdir=../../texinfo-7.2dev/tta/swig \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[5]: Entering directory '/home/g/src/texinfo/GIT/tta/swig'
I./../C/main -I./../C/convert -outdir ./python -o python/python_texinfo_wrap.c 
texinfo.i
/bin/bash: line 1: I./../C/main: No such file or directory
make[5]: [Makefile:2022: python/python_texinfo_wrap.c] Error 127 (ignored)
I./../C/main -I./../C/convert -perl -outdir ./perl -o perl/perl_texinfo_wrap.c 
texinfo.i
/bin/bash: line 1: I./../C/main: No such file or directory
make[5]: [Makefile:2025: perl/perl_texinfo_wrap.c] Error 127 (ignored)
make  distdir-am
make[6]: Entering directory '/home/g/src/texinfo/GIT/tta/swig'
 (cd perl && make  top_distdir=../../../texinfo-7.2dev 
distdir=../../../texinfo-7.2dev/tta/swig/perl \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[7]: Entering directory '/home/g/src/texinfo/GIT/tta/swig/perl'
make  distdir-am
make[8]: Entering directory '/home/g/src/texinfo/GIT/tta/swig/perl'
make[8]: *** No rule to make target 'Texinfo.pm', needed by 'distdir-am'. Stop.
make[8]: Leaving directory '/home/g/src/texinfo/GIT/tta/swig/perl'
make[7]: *** [Makefile:2368: distdir] Error 2
make[7]: Leaving directory '/home/g/src/texinfo/GIT/tta/swig/perl'
make[6]: *** [Makefile:1843: distdir-am] Error 1

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.  Rules that
are running before that are broken too, as seen by the
"I./../C/main: No such file or directory" error.

I have not installed any special support files for SWIG on my computer
and I would expect "make dist" to work without such.

$(SWIG) is set to "" after I run configure, so the rule

$(srcdir)/python/python_texinfo_wrap.c: $(srcdir)/texinfo.i 
$(SWIG_header_dependencies)
        $(SWIG) $(AX_SWIG_PYTHON_OPT) $(SWIG_include_directories) -outdir 
$(srcdir)/python -o $@ $<

should not be running.

Please can we disable these makefile rules if SWIG support is not detected?

Reply via email to