bug-make
[Top][All Lists]
Advanced

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

[bug #29074] -include target fails to issue Error in 3.81


From: Tom Honermann
Subject: [bug #29074] -include target fails to issue Error in 3.81
Date: Fri, 12 Mar 2010 19:08:59 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729)

Follow-up Comment #3, bug #29074 (project make):

Quoting from the make 3.81 manual:

<quote>
   If you want `make' to simply ignore a makefile which does not exist and
cannot be remade, with no error message, use the `-include' directive instead
of `include', like this:

     -include FILENAMES...

   This acts like `include' in every way except that there is no error (not
even a warning) if any of the FILENAMES do not exist.  For compatibility with
some other `make' implementations, `sinclude' is another name for `-include'.
</quote>

The "and cannot be remade" statement could be interpreted in several ways:
1: No rule exists for building the include target.
2: No rule exists for building the include target, or the target rule
failed.

I do think it would be useful to have a syntax that supports ignoring include
files that do not exist and which have no target rules for building them but
which does issue an error if an attempt to rebuild them fails.  I would argue
that this is typically the desired behavior (and apparently the historical
behavior prior to version 3.81).

    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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