[Unison-hackers] Mac update
Alan Schmitt
alan.schmitt at polytechnique.org
Thu Jun 5 09:07:08 EDT 2014
On 2014-05-29 15:44, Alan Shutko <ats at acm.org> 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
More information about the Unison-hackers
mailing list