On Mon, Jan 20, 2003 at 12:10:40AM -0600, Ken Williams wrote:
> Between -r1.107 and -r1.108, the VERSION_FROM file was added as a
> dependency to the Makefile. This is kind of a pain - in fact, it's a
> well-known, documented pain:
>
> The file named in VERSION_FROM is not added as a depen-
> dency to Makefile. This is not really correct, but it
> would be a major pain during development to have to
> rewrite the Makefile for any smallish change in that
> file. If you want to make sure that the Makefile con-
> tains the correct VERSION macro after any change of the
> file, you would have to do something like
>
> depend => { Makefile => '$(VERSION_FROM)' }
>
> (from the MakeMaker POD documentation)
There are version synchronization problems when developing XS modules.
They're very sensitive to version changes and its a pretty common problem
that the version # is changed in the VERSION_FROM module without the
Makefile.PL being re-run causing a version error. That's the problem I
was trying to solve.
Soooo... hmmm. Maybe I'll just put it in the FAQ.
--
If the women don't find you handsome, they should at least find you handy.
-- Red Green