Re: Minor bug in Makefile
Jason Rennie <[email protected]> Fri, 27 Sep 2002 09:14:39 -0400
| Newsgroups | gmane.mail.ifile.general |
|---|---|
| Message-ID | <[email protected]> |
[email protected] said: > Spot it? Neither did I, at first. > In the 1.1.3 release, it so happens that the file dates (at least on > my system) for ifile.h and Version differ slightly; Version is newer, > triggering this rule. Now, as I am running in subdirectory "iris4d", > there is no "include/ifile.h" to write to, so the rule fails. If > re-run, make will actually remove the backup of ifile.h as well, > permanently destroying it. Thanks for catching this. So, I'll add -f to the mv and make the cat/sed/ sed/sed/sed target $(srcdir)/include/ifile.h instead of $@. Does this make sense? Jason D. M. Rennie MIT AI Lab [email protected] (617) 253-5339 http://www.ai.mit.edu/~jrennie/