public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
* .DEFAULT: rule
@ 2007-02-14 19:24 Andrew Cagney
  2007-02-14 21:25 ` Tom Tromey
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Cagney @ 2007-02-14 19:24 UTC (permalink / raw)
  To: frysk

A heads up (and of course better solution welcome).

Automake's generated dependencies cause a build to fail when a file is 
removed.  This occures because the generated .Po file retains references 
to the removed files and make aborts the build with file not found.

I've now added this:
+.DEFAULT:
+       @echo " >>>>> .DEFAULT: $@ <<<<<"
to the build which tells make to ignore missing files.  If a file was 
really needed the build still dies but later when something goes to use 
the file.  If the file really wasn't needed, such as stale references in 
.Po files, the problem gets flushed out.

lets see how it goes,
Andrew

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-02-16  1:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-14 19:24 .DEFAULT: rule Andrew Cagney
2007-02-14 21:25 ` Tom Tromey
2007-02-14 23:58   ` Andrew Cagney
2007-02-16  1:42     ` Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).