From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 11194800BF for ; Sun, 8 Jan 2017 00:47:11 +0100 (CET) Authentication-Results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=antronbachin@gmail.com; spf=Pass smtp.mailfrom=antronbachin@gmail.com; spf=None smtp.helo=postmaster@mail-it0-f65.google.com Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of antronbachin@gmail.com) identity=pra; client-ip=209.85.214.65; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="antronbachin@gmail.com"; x-sender="antronbachin@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of antronbachin@gmail.com designates 209.85.214.65 as permitted sender) identity=mailfrom; client-ip=209.85.214.65; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="antronbachin@gmail.com"; x-sender="antronbachin@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-it0-f65.google.com) identity=helo; client-ip=209.85.214.65; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="antronbachin@gmail.com"; x-sender="postmaster@mail-it0-f65.google.com"; x-conformance=sidf_compatible IronPort-PHdr: =?us-ascii?q?9a23=3A2ezwyxU0gaAJSjgkVeUwCXjyO9bV8LGtZVwlr6E/?= =?us-ascii?q?grcLSJyIuqrYZheCt8tkgFKBZ4jH8fUM07OQ6PG8HzZaqs/e7ThCKMUKDEBVz5?= =?us-ascii?q?1O3kQJO42sNw7SFLbSdSs0HcBPBhdO3kqQFgxrIvv4fEDYuXao7DQfSV3VPAtx?= =?us-ascii?q?IfnpSMaJ15zkn8j7wZDYYh1JiTyhevsyaUzu9USCgPILmpNvIbodzR7Ao30AO7?= =?us-ascii?q?gHhDAgGVXGvxv449qstLR5+iJcv7p198NEVLjmOa4iRLpUCBwpNnBz4sD340rt?= =?us-ascii?q?VwyKs1IaTmIQ2jBBCAjE6lmuV5HtqCz8vON22CicFcLzRLEwHz+l6vE4G1fTlC?= =?us-ascii?q?4bOmthoynsgctqgfce/Uus?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0CWAQDFfXFYhkHWVdFeGwEBAQMBAQEJA?= =?us-ascii?q?QEBFgEBAQMBAQEJAQEBgmcoAQEBAQF+gQyVEYpogjWGOow4ggouhSpKAoFWQBM?= =?us-ascii?q?BAQEBAQEBAQEBARIBAQEICwsKHTCCMwQBFQWCFwEEASMdARsSCwEDAQsGBQsPA?= =?us-ascii?q?gkdAgIjEQEFAQoSBhMSiEIBAxAIAQ2jWz+MA4IDBQEcgwkFg1EKGScDClSCAgE?= =?us-ascii?q?BAQEBAQEBAQEBAQEBAQEBAQEBARUCBgkBCHmHPAiCV4JOgXiCTgwuLYIxBYcdD?= =?us-ascii?q?IdsfIsLhlmKdIJIh1CGRI4wgl8ygRQgAYFIEhxMEAEDggyCASCCCVQBAQGHFIF?= =?us-ascii?q?PAQEB?= X-IPAS-Result: =?us-ascii?q?A0CWAQDFfXFYhkHWVdFeGwEBAQMBAQEJAQEBFgEBAQMBAQE?= =?us-ascii?q?JAQEBgmcoAQEBAQF+gQyVEYpogjWGOow4ggouhSpKAoFWQBMBAQEBAQEBAQEBA?= =?us-ascii?q?RIBAQEICwsKHTCCMwQBFQWCFwEEASMdARsSCwEDAQsGBQsPAgkdAgIjEQEFAQo?= =?us-ascii?q?SBhMSiEIBAxAIAQ2jWz+MA4IDBQEcgwkFg1EKGScDClSCAgEBAQEBAQEBAQEBA?= =?us-ascii?q?QEBAQEBAQEBARUCBgkBCHmHPAiCV4JOgXiCTgwuLYIxBYcdDIdsfIsLhlmKdIJ?= =?us-ascii?q?Ih1CGRI4wgl8ygRQgAYFIEhxMEAEDggyCASCCCVQBAQGHFIFPAQEB?= X-IronPort-AV: E=Sophos;i="5.33,332,1477954800"; d="scan'208";a="253963342" Received: from mail-it0-f65.google.com ([209.85.214.65]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/AES128-GCM-SHA256; 08 Jan 2017 00:46:38 +0100 Received: by mail-it0-f65.google.com with SMTP id 203so2588748ith.2 for ; Sat, 07 Jan 2017 15:46:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=kks67Yhxet+BkDaE5beWQ4JyP5Xd/TnC5YZg4LbSpVY=; b=JUzeuut2d3FAX9cXrKjX8Oher/c5/K+EZvJJu0jZJSn4uC3zWeycBI4g9C8YmtidIY XhFzFU4EK8m0g5ovInWwtdatltu1HREE48vHgaoghh8AhHFXpF5sV7WNVIE10QdM7Lkw VJLzqi+SnzRa98X0vFj3m1g411DRWz3b1jPaDIMY3S++sTABD5rcdYLuA5zLjg4qwgL5 swRKNh1zvWNIacGCaZncEFgH9vtrgNeS/Xza47GTTwv5iUMKwhZW+GFYCUlZ/s3gcerv Oa+UxYTLISDJfUZqINJR4YADDtrUe4j6VYDyWyO9Z91C90HY5h3uVz1rBgIlRcW82pQ7 lv7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=kks67Yhxet+BkDaE5beWQ4JyP5Xd/TnC5YZg4LbSpVY=; b=nQz8slUJvvkZPtk9CZhCUAOgENYLM8daPSQJTXK2f2NU8+YXSseLMcOrgTrT77o4TT yyL2DiG4hPyEA/cfmqeYL9Y/IgOkA14HcCl6hwHoqgjdqaeW6vkaLb5Q+04ALBpSg1BC ZixtsxvoVKQvNixP9q602DiOtErNFLt/rt83ZKyjFuNqmJxI2vMjojFnmJE34ApR44Ji ZTuhnxp0jZ4wmGboGq1LOq4pmKGlJ4kmJ3wgYFw3clkI6Aktb5Tlwkmw0C8HFGJ7bFRJ Up6tOAg0gwyF0C/z1+yQ7KsWI+J/0QV7roPluZfIPIjOsZDMqD667q2xODGPrJbBbOhY bnAw== X-Gm-Message-State: AIkVDXKuArJhz8OILRa8WJjFdY34J1HBN8mu/yqnJZEyNbvDzbfDjdkzDic7ggsPSiyYhg== X-Received: by 10.36.19.9 with SMTP id 9mr4122649itz.32.1483832796306; Sat, 07 Jan 2017 15:46:36 -0800 (PST) Received: from ?IPv6:2601:240:c600:8bd0:e47b:3190:a100:55f5? ([2601:240:c600:8bd0:e47b:3190:a100:55f5]) by smtp.gmail.com with ESMTPSA id p20sm3678126itc.2.2017.01.07.15.46.34 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 07 Jan 2017 15:46:35 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) From: Anton Bachin In-Reply-To: Date: Sat, 7 Jan 2017 17:46:34 -0600 Cc: Caml List X-Mao-Original-Outgoing-Id: 505525594.285075-ead687e57c369c17fb957ee5cb6c485c Content-Transfer-Encoding: quoted-printable Message-Id: <4252F3DC-04EF-4445-8705-1E3B6B3FC6F4@gmail.com> References: To: Helmut Brandl X-Mailer: Apple Mail (2.2070.6) Subject: Re: [Caml-list] Preparing a project for opam Helmut, When publishing to OPAM, you can create an install file that lists what sho= uld be installed. I am linking to the example from Bisect_ppx (the question= marks mean =E2=80=9Cif the file exists,=E2=80=9D don=E2=80=99t use them if= your file will always be built). Bisect_ppx installs a binary called bisec= t-ppx-report: https://github.com/ocaml/opam-repository/blob/master/packages/bisect_ppx/= bisect_ppx.1.2.0/files/bisect_ppx.install The overall published structure looks like this: https://github.com/ocaml/opam-repository/tree/master/packages/bisect_ppx/= bisect_ppx.1.2.0 If you are working locally, you can create your .install file next to the o= pam file. In general, it is also possible to get various OPAM paths for the current s= witch: opam config var lib opam config var doc opam config var bin Best, Anton > El ene 7, 2017, a las 17:38, Helmut Brandl escrib= i=C3=B3: >=20 > Hello list, >=20 > I am trying to prepare my project to being published via opam. I have pin= ned my project to a local version on my harddisk and generated and opam fil= e which opam can build successfully. >=20 > Now I am struggling with the "install" section of the opam file. >=20 > For building I use ocamlbuild which builds a native executable file in th= e 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 recom= mended way since somebody else might have chosen another directory name and= path on where to store ".opam". >=20 > Is there a portable way to do this? Thanks for any hint. >=20 > Regards > Helmut >=20 > --=20 > Caml-list mailing list. Subscription management and archives: > https://sympa.inria.fr/sympa/arc/caml-list > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs