On Thu, Jul 27 2006, David Kastrup wrote:

> Maybe we should try something like
> test "$(DESTDIR)x" != "x" || $(TEXHASH) $(previewtexmfdir)
>
> I am not sure I particularly like that (TEXHASH should probably have
> been disabled at configure time), but it seems to be more correct
> in most cases.

$(previewtexmfdir) contains "tex/latex/preview" so my suggestion was
incorrect.  I've installed the following instead:

# Isn't the texmfdir directory without "tex/latex/preview" available?
        @ texmfdir="$(DESTDIR)$(previewtexmfdir)/../../.."; \
        if [ -r "$$texmfdir"/ls-R ]; then \
          $(TEXHASH) "$$texmfdir";  \
        else \
          echo "Warning: Cannot update ls-R database in $$texmfdir"; \
          sleep 2; \
        fi


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

Reply via email to