auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] auto-loads.el in Makefile.in


From: David Kastrup
Subject: Re: [AUCTeX-devel] auto-loads.el in Makefile.in
Date: Sat, 14 May 2005 21:49:50 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Masayuki Ataka <address@hidden> writes:

> Emacs-21.4 or less fails `update-file-autoloads' if the target
> file does not exist.  So, the codes between >> and << in
> Makefile leads to error when Emacs is less than 22.  Should we
> need this code?
>
> auto-loads.el: $(AUCSRC) $(COMPILE_MULE) Makefile
>       test X$(packagedir) != Xno || \
>       rm -f $@ ; \
>>>
>       $(ELCC) $(AUTOLOAD) $(AUCSRC); \
>       test -r $@ || \
> <<
>       echo ";; Auto-generated part of tex-site.el" > $@ ; \
>       echo "" >> $@ ; \
>       $(ELCC) $(AUTOLOAD) $(AUCSRC) $(COMPILE_MULE)
>
> Reported by Ikumi.  Thank you.

We just discussed this.  We need it (since the behavior of Emacs-22 is
again different), and the "error" is not permanent since we actually
check whether the file was created.  Maybe it would be helpful to
point out that the first attempt with no existing file failed, and
that a second attempt is done, so that the user does not get scared.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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