Skip to content

Better descriptions (and export parameters) around the dependency generator for OCaml #7576

@vicuna

Description

@vicuna

Original bug ID: 7576
Reporter: @elfring
Status: closed (set by @xavierleroy on 2017-07-21T15:29:17Z)
Resolution: not a bug
Priority: normal
Severity: feature
Version: 4.03.0
Category: tools (ocaml{lex,yacc,dep,debug,...})
Related to: #7558

Bug description

The documentation contains the following information:
“…
The typical usage is:

   ocamldep options *.mli *.ml > .depend

…”

I find that there are more details worth for further software development considerations around such an example.

  1. It will be sufficient to refer to a single source file directory in some use cases.

  2. But I imagine that this interface should also work to some degree when file names are passed as a mixture from several directories.
    How good can OCaml module references be mapped to paths in the file system then?

  3. Will it be safer to store the generated dependency file (or the provided data generally) at an other place (than within the same folder)?

Additional information

https://caml.inria.fr/pub/docs/manual-ocaml/depend.html

Support selection of source file names also for other export formats than make rules
#7558

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions