Reiner Steib <[EMAIL PROTECTED]> writes:

> On Wed, Jul 26 2006, David Kastrup wrote:
>
>> Reiner Steib <[EMAIL PROTECTED]> writes:
> [...]
>>> -   -$(TEXHASH)
>>> +   -$(TEXHASH) $(DESTDIR)$(previewtexmfdir)
> [...]
>>> Objections?
>>
>> Seems unlikely to work when DESTDIR is nonempty.  Of course, neither
>> would $(TEXHASH) all by itself.
>
> So what do you suggest?  I'm not sure about the situation with
> nonempty DESTDIR, but at least for empty DESTDIR (which seems to be
> the most common situation), it's an improvement:

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.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


_______________________________________________
auctex-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to