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

Re: Bug#60558: marked as done (Errors during "make release")



>>>>> "Ben" == Ben Collins <bcollins@debian.org> writes:

    Ben> On Thu, Mar 16, 2000 at 11:42:18PM +0100, Josip Rodin wrote:
    >> >From: Ben Collins <bcollins@debian.org>
    >> > > Getting the following errors during build;
    >> > > 
    >> > > Makefile:289: .depend/baseconfig: No such file or directory
    >> > > Makefile:289: .depend/block_device: No such file or directory
    >> > 
    >> > This isn't an error, notice is does not kill the build. This is simply
    >> > Makefile looking for dep files, nothing more, and can be ignored.
    >> 
    >> Can't you use "-include" instead of "include", then, to prevent the ugly
    >> error messages?

    Ben> You can, yes.

 No, you cannot.  If you use "-include", and the files are not there,
 the depends/* files will never be built.

 See: info make, Section: Include

   "If an included makefile cannot be found in any of these
   directories, a warning message is generated, but it is not an
   immediately fatal error; processing of the makefile containing the
   `include' continues.  Once it has finished reading makefiles,
   `make' will try to remake any that are out of date or don't exist.
   *Note How Makefiles Are Remade: Remaking Makefiles.  Only after it
   has tried to find a way to remake a makefile and failed, will
   `make' diagnose the missing makefile as a fatal error."


Reply to: