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/
_______________________________________________
auctex-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex-devel