[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] Use of mktexlsr (aka texhash)
From: |
David Kastrup |
Subject: |
Re: [AUCTeX-devel] Use of mktexlsr (aka texhash) |
Date: |
Wed, 26 Jul 2006 15:41:30 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Reiner Steib <address@hidden> writes:
> On Thu, Jun 08 2006, David Kastrup wrote:
>
> [ Using "mktexlsr %(_datadir)/texmf" instead of "texhash" (without an
> argument) ]
>
>> Well, I think your search makes it clear enough that we can use
>> /usr/bin/mktexlsr %(_datadir)/texmf
>> (if this is the right variable to use) in our RPMs. Feel free to
>> make the change.
>
> [ I've done this some time ago (2006-06-08). ]
>
> I think similarly, the directory should be added in
> preview/latex/Makefile.in:
>
> --8<---------------cut here---------------start------------->8---
> --- preview/latex/Makefile.in 10 Jul 2006 15:26:55 -0000 1.14
> +++ preview/latex/Makefile.in 26 Jul 2006 13:15:07 -0000
> @@ -29,7 +29,7 @@
> echo $(INSTALL_DATA) $$x $(DESTDIR)$(previewtexmfdir) ; \
> $(INSTALL_DATA) $$x $(DESTDIR)$(previewtexmfdir) ; \
> done
> - -$(TEXHASH)
> + -$(TEXHASH) $(DESTDIR)$(previewtexmfdir)
>
> install-texmf-doc: preview.dvi
> -$(MKINSTALLDIRS) $(DESTDIR)$(previewdocdir)
> --8<---------------cut here---------------end--------------->8---
>
> Objections?
Seems unlikely to work when DESTDIR is nonempty. Of course, neither
would $(TEXHASH) all by itself.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum