[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bin/ merge the rules

From: Paul Eggert
Subject: Re: bin/ merge the rules
Date: Tue, 01 Feb 2005 16:09:32 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Stepan Kasal <address@hidden> writes:

> 2005-02-01  Stepan Kasal  <address@hidden>
>       * bin/ Merge the two rules for creating scripts.

Thanks.  This looks good, except for this line:

> +     $(edit) `test -n "$(address@hidden)" || echo $(srcdir)/address@hidden 
> >address@hidden

It's not portable to nest "make" macros that way; POSIX says the
results are unspecified.  Perhaps you can use a "make" macro that
expands to a shell pattern instead, and use "case" rather than "test"?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]