bug-make
[Top][All Lists]
Advanced

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

[bug #30463] cannot make include makefile .INTERMEDIATE


From: anonymous
Subject: [bug #30463] cannot make include makefile .INTERMEDIATE
Date: Fri, 16 Jul 2010 15:42:35 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6

URL:
  <http://savannah.gnu.org/bugs/?30463>

                 Summary: cannot make include makefile .INTERMEDIATE
                 Project: make
            Submitted by: None
            Submitted on: Fri 16 Jul 2010 03:42:34 PM UTC
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 3.80
        Operating System: None
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

The following little makefile never terminates:

.INTERMEDIATE: x.mk
include x.mk
x.mk:
        echo "all:; echo ok" > x.mk

I would like it to remove x.mk after the make process is done.
Same behavior in 3.81

The following is a trace of make -rd

This program built for x86_64-unknown-linux-gnu
Reading makefiles...
Reading makefile `oops.mk'...
Reading makefile `x.mk' (search path) (no ~ expansion)...
oops.mk:2: x.mk: No such file or directory
Updating makefiles....
 Considering target file `x.mk'.
  File `x.mk' does not exist.
  Finished prerequisites of target file `x.mk'.
 Must remake target `x.mk'.
echo "all:; echo ok" > x.mk
Putting child 0x00537980 (x.mk) PID 14120 on the chain.
Live child 0x00537980 (x.mk) PID 14120 
Reaping winning child 0x00537980 PID 14120 
Removing child 0x00537980 PID 14120 from chain.
 Successfully remade target file `x.mk'.
 Considering target file `oops.mk'.
  Looking for an implicit rule for `oops.mk'.
  No implicit rule found for `oops.mk'.
  Finished prerequisites of target file `oops.mk'.
 No need to remake target `oops.mk'.
Removing intermediate files...
rm x.mk
Re-executing[2]: gmake -f oops.mk -rd
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?30463>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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