caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Helmut Brandl <helmut.brandl@gmx.net>
To: Caml List <caml-list@inria.fr>
Subject: [Caml-list] Preparing a project for opam
Date: Sat, 7 Jan 2017 17:38:59 -0600	[thread overview]
Message-ID: <e9293b65-fc37-153b-22a8-86cc56018ac8@gmx.net> (raw)

Hello list,

I am trying to prepare my project to being published via opam. I have 
pinned my project to a local version on my harddisk and generated and 
opam file which opam can build successfully.

Now I am struggling with the "install" section of the opam file.

For building I use ocamlbuild which builds a native executable file in 
the source directory (to be precise in the _build subdirectory of the 
source directory). Installing just means copying this executable into a 
directory which is in the search path. I have achieved this by copying 
the executable directly to ".opam/system/bin". However I am not sure if 
this is the recommended way since somebody else might have chosen 
another directory name and path on where to store ".opam".

Is there a portable way to do this? Thanks for any hint.

Regards
Helmut

             reply	other threads:[~2017-01-07 23:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-07 23:38 Helmut Brandl [this message]
2017-01-07 23:46 ` Petter A. Urkedal
2017-01-07 23:46 ` Anton Bachin

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=e9293b65-fc37-153b-22a8-86cc56018ac8@gmx.net \
    --to=helmut.brandl@gmx.net \
    --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;
as well as URLs for NNTP newsgroup(s).