Problem with GNU make v3.77 and later

2003-01-15 Thread Forissier, Jerome
Hi,

We are using GNU make here at HP to build many of our products on several platforms 
(Tru64 UNIX, HP-UX, Linux).

We have experienced a problem with make v3.77 and later (including the latest version, 
3.80).
Version 3.76 works fine.
Attached is a test-case to reproduce the problem (the tgz contains a README).

What do you think? Is it a make bug, or is there a problem with the makefile?

Thanks,

-- 
Jerome Forissier
Thierry Gerbi
Mathieu Simon

HP/ESG/SGBU/OCBU/SPP (Telecom)
Sophia-Antipolis, France



gmake3.77_pb.tgz
Description: gmake3.77_pb.tgz
___
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make



.DELETE_ON_ERROR doesn't work for directories

2003-01-15 Thread Jonathan_Baccash
The .DELETE_ON_ERROR target doesn't work for directories.  If I have a
directory "t2" and there is an error while updating the "t2" target but
after the "t2" directory has been created, the directory is not removed,
even if I have specified .DELETE_ON_ERROR as a target.  Here is an example:

t1:
  touch t1
  false

t2:
  mkdir t2
  false

Here is an example of the output:
$ ls
Makefile
$ gmake t1
touch t1
false
gmake: *** [t1] Error 255
gmake: *** Deleting file `t1'
$ gmake t2
mkdir t2
false
gmake: *** [t2] Error 255
$ ls
Makefile  t2

As you can see, the directory is not removed, but the file is.  Thanks,

Jon.






If you have received this e-mail in error, please delete it and notify the sender as 
soon as possible. The contents of this e-mail may be confidential and the unauthorized 
use, copying, or dissemination of it and any attachments to it, is prohibited. 

Internet communications are not secure and Hyperion does not, therefore, accept legal 
responsibility for the contents of this message nor for any damage caused by viruses.  
The views expressed here do not necessarily represent those of Hyperion.

For more information about Hyperion, please visit our Web site at www.hyperion.com


___
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make