Re: Mac update
Alan Schmitt <[email protected]>
| Newsgroups | gmane.network.unison.devel |
|---|---|
| Message-ID | <[email protected]> |
On 2014-05-29 15:44, Alan Shutko <[email protected]> writes: > The mkProjectInfo.ml file uses a subversion keyword to get the subversion revision number to put in the makefile. That doesn't exist in a git checkout, so I had to do this workaround: > > --- a/src/mkProjectInfo.ml > +++ b/src/mkProjectInfo.ml > @@ -42,7 +42,7 @@ let pointVersionOrigin = 504 (* Revision that corresponds to point version 0 *) > (* ---------------------------------------------------------------------- *) > (* You shouldn't need to edit below. *) > > -let revisionString = "$Rev$";; > +let revisionString = "$Rev: 900$";; > > let pointVersion = > Scanf.sscanf revisionString "$Rev: %d " (fun x -> x) - pointVersionOrigin;; > Modified src/strings.ml This works, thanks a lot. I'm able to build the application here. Alan