Bug 1539 - when a file is removed, Makefile is updated, but not .deps/<file>.po
Summary: when a file is removed, Makefile is updated, but not .deps/<file>.po
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P1 normal
Target Milestone: ---
Assignee: Igor Foox
URL:
Keywords:
Depends on:
Blocks: 2235
  Show dependency treegraph
 
Reported: 2005-10-24 22:24 UTC by Andrew Cagney
Modified: 2006-01-31 16:02 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cagney 2005-10-24 22:24:00 UTC
When a <file> is removed, re-generating Makefile.gen, correctly leads to
Makefile being updated, but not to the update of .deps/*.Po so that any
contained references to <file> are removed.

This results in a make botch where it fails as the removed file is missing.
Comment 1 Igor Foox 2005-10-25 14:09:18 UTC
Is this still the case even if we re-autogen, or does that not solve the problem
either?
Comment 2 Igor Foox 2005-10-25 16:06:28 UTC
I found that changing:
find * -name '*.Po' -exec cp /dev/null \{\} \
with:
find . -name '*.Po' -exec cp /dev/null \{\} \

catches all the files. The previous line didn't catch the .deps dir in the
current working directory (which in the case of make clean amounted to
frysk-{sys,core,gui,imports}/.deps). 
Comment 3 Igor Foox 2005-10-25 16:06:41 UTC
Commited.
Comment 4 Andrew Cagney 2005-10-25 21:30:42 UTC
bah, the only way to re-assign it is to re-open it.
Comment 5 Andrew Cagney 2005-10-25 21:31:25 UTC
Igor found/fixed it.