> From: Jim Meyering <[EMAIL PROTECTED]>
> Date: 12 Aug 2000 12:21:27 +0200
>
> | -  sed 's/^[^:]*: / /' < "$tmpdepfile" >> "$depfile"
> | +  sed 's/^\([A-Za-z]:\/\)\{0,1\}[^:]*: / /' < "$tmpdepfile" >> "$depfile"
> |  ## This next piece of magic avoids the `deleted header file' problem.
> |  ## The problem is that when a header file which appears in a .P file
> |  ## is deleted, the dependency causes make to die (because there is
> 
> How about this instead, so it doesn't depend on the C locale:
> 
>   alpha=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
>   sed 's/^\(['$alpha']:\/\)\{0,1\}[^:]*: / /' < "$tmpdepfile" >> "$depfile"

Fine with me, thanks.

Reply via email to