[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] problems with 'make install' in 11.81
From: |
Ralf Angeli |
Subject: |
Re: [AUCTeX] problems with 'make install' in 11.81 |
Date: |
Mon, 24 Oct 2005 18:25:23 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
* Michal Jaegermann (2005-10-24) writes:
> One more thing about this spec file I attached in the original
> message.
Are you aware that there is a spec file for AUCTeX 11.81 available
from AUCTeX's CVS repository? See
e.g. <URL:http://savannah.gnu.org/cgi-bin/viewcvs/auctex/auctex/auctex.spec>.
I don't know about its state but if there are problems with it, any
help in fixing them is welcome.
> Older versions were creating in %post scripts an
> auctex-init.el startup file, or it could have been just added "by
> hand". Now this name has changed. Therefore it is likely a good
> idea to add in a %pre script of auctex-11.81 something of that sort:
>
> oldinit=/usr/share/emacs/site-lisp/site-start.d/auctex-init.el
> [ -f $oldinit ] && mv $oldinit $oldinit.bak
>
> or equivalent.
The spec file of AUCTeX 11.53 includes this:
%preun emacs
# $1 is the number of versions of this package installed
# after this uninstallation
if [ $1 -eq 0 ]; then
/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/auctex
rm -f %{startupfile}
fi
IIUC this will take care of the startup file.
--
Ralf