Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Robert Muller <robert.muller2@gmail.com>
To: Ocaml Mailing List <caml-list@inria.fr>
Subject: [Caml-list] .opam structure question
Date: Wed, 9 Sep 2015 16:06:32 -0400	[thread overview]
Message-ID: <CAKmYin=cQOtWCim03KAKqT+6+R67z18=U=yYTi0JbW=3Eze+rQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 969 bytes --]

Greetings, probably the wrong forum for such a naive question but hopefully
someone can answer it in a couple of keystrokes! I am using OCaml makefiles
across slightly skewed versions (4.02.1 and 4.02.3). In my local Makefile,
I'm specifying an explicit path to OCamlMakefile:

~/.opam/4.02.1/lib/ocaml-makefile/OCamlMakefile:

that includes the release version 4.02.1. But I would prefer for this same
Makefile to work on version 4.02.3 too.  It seems really wrong to be
specifying an explicit version number in a path. On my 4.02.1 version, I
was able to replace the version number by "system". This seems to work ---
there is a /lib/ocaml-makefile/ folder there.  But this same hack did not
work on the 4.02.3 system.

So my question is, what is the recommended (i.e., modular and portable) way
to address an OPAM resource such as OCamlMakefile? I suppose I shouldn't
have to know much of anything about the structure of the .opam directory.
(?)

Thanks!
Bob Muller

[-- Attachment #2: Type: text/html, Size: 1129 bytes --]

             reply	other threads:[~2015-09-09 20:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-09 20:06 Robert Muller [this message]
2015-09-09 20:26 ` Ashish Agarwal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKmYin=cQOtWCim03KAKqT+6+R67z18=U=yYTi0JbW=3Eze+rQ@mail.gmail.com' \
    --to=robert.muller2@gmail.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox