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

Re: Version in Makefile.PL ?



On Thu, 2012-08-09 at 22:20 -0400, Chris Travers wrote:
> On Thu, Aug 9, 2012 at 8:26 AM, Robert James Clay <..hidden..> wrote:
> >    That issue appears to be back again;  happened to be checking the
> > tagged version of 1.3.22 in the repository and noticed that the
> > "version" entry in Makefile.PL is set to "1.3.20".  Perhaps some way of
> > setting that to something like from the $VERSION setting in LedgerSMB.pm
> > could be looked at again?
> 
> Can't do it that way.  We could probably add a LedgerSMB::Version and use that.
> 
> The problem with including LedgerSMB.pm is we end up requiring all the
> dependencies to be loaded in order to figure out which dependencies we
> need to install, which isn't really very helpful.

    To be clearer, I wasn't thinking of "including" it but rather
pulling the version number from it like this:

version_from 'LedgerSMB.pm';

    Wouldn't that work?  




Jame