On Fri, 2015-07-03 at 08:52 +0300, Dmitry Bogatov wrote:
This patch integrate them a little deeper. And, by the way (VAR !=
ls
-A) assignment is very like this.
The following two assignments is same:
FOO != ls -A
FOO := $(shell ls -A | sed-magic)
Oh I see; you're thinking of the
ifeq ($(shell if [ -f /my/file ] ; then echo 0; else echo 1; fi), 0)
Why not:
ifneq ($(wildcard /my/file),)
which tests existence just as well. Of course, it does also match if
/my/file is a directory or other non-file, but it's almost always
sufficient, unless there's some actual
On Mon, 2015-06-15 at 17:36 +0300, Dmitry Bogatov wrote:
I would like to propose patch, implementing new
conditional: `ifscm'. It has following syntax:
ifscm (some s-expression #f)
MAKE_VAR = foo
endif
Can't you write:
ifneq ($(guile some s-sexpression),)
It's
* Paul Smith psm...@gnu.org [2015-07-02 14:03:22-0400]
On Thu, 2015-07-02 at 20:48 +0300, Dmitry Bogatov wrote:
Can't you write:
ifneq ($(guile some s-sexpression),)
It's not quite as clean, but it doesn't require new syntax which has its
own advantages.
Currently Guile
On Thu, 2015-07-02 at 20:48 +0300, Dmitry Bogatov wrote:
Can't you write:
ifneq ($(guile some s-sexpression),)
It's not quite as clean, but it doesn't require new syntax which has its
own advantages.
Currently Guile integration is limited to gmk-eval and is little
better then
* Paul Smith psm...@gnu.org [2015-07-02 11:06:53-0400]
On Mon, 2015-06-15 at 17:36 +0300, Dmitry Bogatov wrote:
I would like to propose patch, implementing new
conditional: `ifscm'. It has following syntax:
ifscm (some s-expression #f)
MAKE_VAR = foo
endif
Hello!
I would like to propose patch, implementing new
conditional: `ifscm'. It has following syntax:
ifscm (some s-expression #f)
MAKE_VAR = foo
endif
Why? Some complains, that lack of logical operations make conditionals
ugly. Maybe. To me, main is that to check