From: Richard W.M. Jones Date: Sat, 4 Jan 2020 09:49:21 +0000 (+0000) Subject: build: Generate complete OCaml dependencies. X-Git-Tag: v'0.2'~83 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=4e21e663ab8b0d84d7ac272c030faad83cf10f5f;p=goals.git build: Generate complete OCaml dependencies. Because we didn't use -I src on the ocamldep command line, ocamldep didn't generate the complete set of dependencies. --- diff --git a/Goalfile.in b/Goalfile.in index 4a80a3f..afe6c1e 100644 --- a/Goalfile.in +++ b/Goalfile.in @@ -81,7 +81,7 @@ goal depend () = rm -f %@ %@-t # Like many existing tools, ocamldep produces make-compatible # output which doesn't work directly in goals. - %OCAMLDEP -all -one-line %< | + %OCAMLDEP -all -one-line -I src %< | sed 's|[./[:alnum:]]\+|"&"|g' | sed 's|" "|", "|g' | sed 's|.*|& ;|' > %@-t