[Top][All Lists]

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

.DELETE_ON_ERROR & error propagation through multi-command

From: Robert
Subject: .DELETE_ON_ERROR & error propagation through multi-command
Date: Tue, 08 Nov 2011 13:26:13 +0100
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20110928 Firefox/7.0.1 SeaMonkey/2.4.1

Hello, the following Makefile:



        $(PYTHON) install/ -w
#       cd install; $(PYTHON) -w; cd ..


The out-commented version with multi-command due to cd's doesn't lead to a deletion of the broken target upon execution error in the py script. While the action version (cd's done inside the script now), will lead to deletion as wanted when error.

Why? what to do?

(seen on Windows; GNU make 3.81/MingW)


reply via email to

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