delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
X-Server-Uuid: | 8e4ba440-7ddb-11d4-886f-00508bd3671f |
Message-ID: | <200101171240.f0HCeEk11186@dymwsm12.mailwatch.com> |
From: | "Fleischer, Karsten (K.)" <kfleisc1 AT ford DOT com> |
To: | "'John Melody'" <john AT sybernet DOT ie>, cygwin AT cygwin DOT com |
Subject: | RE: Using cygwin "make" |
Date: | Wed, 17 Jan 2001 07:39:57 -0500 |
MIME-Version: | 1.0 |
X-Mailer: | Internet Mail Service (5.5.2651.58) |
X-WSS-ID: | 167B4D274154-01-01 |
Hi John, > I notice that the cd command does not work within the make > file. I have > tried d:\classes, and d:/classes but to no avail. Every single command line of the rule will be executed in its own shell process, thus you end up in the original current dir in the second statement. You can put the commands on a single line, seperated by a semicolon: cd $(CLASSES); jar -cvf $(DISTRIBUTION_DIR)\lib\classes.jar squ/ Or you can use line continuation: cd $(CLASSES); \ jar -cvf $(DISTRIBUTION_DIR)\lib\classes.jar squ/ Karsten -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |