autoconf-patches
[Top][All Lists]
Advanced

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

Re: bin/Makefile.am: merge the rules


From: Paul Eggert
Subject: Re: bin/Makefile.am: 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/Makefile.am: 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]