[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-devel] Re: Information about RPM systems?
From: |
Reiner Steib |
Subject: |
[AUCTeX-devel] Re: Information about RPM systems? |
Date: |
Thu, 08 Jun 2006 14:22:17 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
On Wed, Jun 07 2006, David Kastrup wrote:
> Ok Reiner, I adapted the spec file as good as I could and I hope it
> will work and produce a sensible preview-tetex package. I also
> adapted install.texi to actually recommend what we are doing
> ourselves. We might want to adapt the blurb in RELEASE
> correspondingly, but maybe it is ok.
>
> Could you check that this actually works and, in case it doesn't,
> look for the problem?
In addition to the changes I've installed yesterday, I'd like to
propose to add a directory argument for texhash/mktexlsr, see below.
AFAICS, mktexlsr is the canonical name now, isn't it? At least (info
"(kpathsea)Filename database generation") mentions mktexlsr. (I seem
to recall a command to add single files to the ls-R database, but I
can't find it now.) Does it make sense to specify the path
"/usr/bin/"?
--8<---------------cut here---------------start------------->8---
@@ -130,10 +131,10 @@
rm -rf %{buildroot}
%post -n preview-tetex
-/usr/bin/texhash
+mktexlsr %{_datadir}/texmf
%postun -n preview-tetex
-/usr/bin/texhash
+mktexlsr %{_datadir}/texmf
%files -n preview-tetex
%defattr(-,root,root)
--8<---------------cut here---------------end--------------->8---
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/