help-make
[Top][All Lists]
Advanced

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

Re: whitespace in filenames


From: Brian Dessent
Subject: Re: whitespace in filenames
Date: Wed, 24 Sep 2008 14:55:58 -0700

Stephan Beal wrote:

> above-mentioned deep embediment of spaces in Make, it might still be
> useful in the context of rules:
> 
> foo:
>     command --arg1=$(quote $(SOME_VAL_WITH_SPACES)) --arg2 --arg3

But in that context you can just use --arg1="$(SOME_VAL_WITH_SPACES)"
because the shell does recognise quotes, and make just passes everything
in the recipe through sh -c.

Brian




reply via email to

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