www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/04/30/12:30:20

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Date: Tue, 30 Apr 2002 19:27:56 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Bob Stark <bstark AT protechpts DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: How do you pass double quotes to a program via gnu make?
In-Reply-To: <e83e1008.0204300738.77899e56@posting.google.com>
Message-ID: <Pine.SUN.3.91.1020430192638.9802B-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 30 Apr 2002, Bob Stark wrote:

> I am setting up gnu make to publish some files on Windows NT.  One of
> the commands that I run needs to be passed a parameter in the form:
>   -printer="Acrobat Distiller"
> 
> This works fine with GNU Make version 3.76.1
> 
> However, with the more recent GNU Make version 3.79.1, the double
> quotes are stripped off before they are passed to the executable.

That's intended.  Try

  -printer=\"Acrobat Distiller\"

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019