Arash Esbati <ar...@gnu.org> writes:

>> Hm, I think autogen.sh (and doc/Makefile.in called from it) should be
>> deleted on main.
>
> I think the same goes for aclocal.m4 and configure.ac?

Yes.

>> However, it still does some stuff which the top-level GNUMakefile is
>> missing like compiling doc/tex-ref.tex with pdftex.
>>
>> Any takers?
>
> How about this:
>
> --8<---------------cut here---------------start------------->8---
> diff --git a/GNUmakefile b/GNUmakefile
> index 06405960..26970b78 100644
> --- a/GNUmakefile
> +++ b/GNUmakefile
> @@ -23,6 +23,7 @@ MAKEINFO=makeinfo
>  INSTALL_INFO=install-info
>  PERL=perl
>  PDFLATEX=pdfla$(TEX)
> +PDFTEX=pdf$(TEX)
>
>  MANUALS=auctex preview-latex
>  INFO_FILES=$(MANUALS:=.info)
> @@ -132,6 +133,10 @@ ChangeLog:
>  doc/preview-dtxdoc.texi: latex/preview.dtx doc/preview-dtxdoc.pl
>         $(PERL) doc/preview-dtxdoc.pl latex/preview.dtx $@
>
> +# Copied&adapted from doc/Makefile.in.
> +doc/tex-ref.pdf: doc/tex-ref.tex
> +       cd doc && $(PDFTEX) tex-ref.tex && rm tex-ref.log
> +
>  # Copied&adapted from doc/Makefile.in.
>  TEXI_SOURCES:=$(wildcard doc/*.texi) doc/version.texi doc/preview-dtxdoc.texi
>  $(INFO_FILES): %.info: $(TEXI_SOURCES)
> --8<---------------cut here---------------end--------------->8---

Perfect.  I'm not sure if that's all we're missing.  It was just the
first thing I've seen.

> Do you want to have doc/tex-ref.pdf in MAIN_GENERATED_FILES as well?
> I wasn't sure, so I didn't add it in the change above.

Why not?  It's fast enough, changes almost never, and when the ELPA
build machine has pdflatex it surely has pdftex, too.

Thanks!
  Tassilo

Reply via email to