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