From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 94B8E7FB2F; Sat, 6 Dec 2014 14:43:43 +0100 (CET) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of whitequark@whitequark.org) identity=pra; client-ip=176.58.103.125; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="whitequark@whitequark.org"; x-sender="whitequark@whitequark.org"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of whitequark@whitequark.org designates 176.58.103.125 as permitted sender) identity=mailfrom; client-ip=176.58.103.125; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="whitequark@whitequark.org"; x-sender="whitequark@whitequark.org"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail.whitequark.org) identity=helo; client-ip=176.58.103.125; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="whitequark@whitequark.org"; x-sender="postmaster@mail.whitequark.org"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhUGADgHg1SwOmd9/2dsb2JhbABZDoNKWIgKq0EBAQEBAQEGknuCAwGEFwKBKAEBAQEBfYQDAQEEOAI/EAQHGC4sKwYbiDfVAwEBAQcCIIYnhAuGHQeENgEEii2JF4dxkWmDMEI8MIJDAQEB X-IPAS-Result: AhUGADgHg1SwOmd9/2dsb2JhbABZDoNKWIgKq0EBAQEBAQEGknuCAwGEFwKBKAEBAQEBfYQDAQEEOAI/EAQHGC4sKwYbiDfVAwEBAQcCIIYnhAuGHQeENgEEii2JF4dxkWmDMEI8MIJDAQEB X-IronPort-AV: E=Sophos;i="5.07,529,1413237600"; d="scan'208";a="92225230" Received: from fehu.whitequark.org (HELO mail.whitequark.org) ([176.58.103.125]) by mail3-smtp-sop.national.inria.fr with ESMTP; 06 Dec 2014 14:43:42 +0100 Received: by mail.whitequark.org (Postfix, from userid 33) id E5D6610C093; Sat, 6 Dec 2014 13:43:40 +0000 (UTC) To: Kenichi Asai X-PHP-Originating-Script: 1000:rcube.php MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sat, 06 Dec 2014 16:43:40 +0300 From: Peter Zotov Cc: caml-list@inria.fr, caml-list-request@inria.fr In-Reply-To: <20141206130633.GA56657@pllab.is.ocha.ac.jp> References: <20141206130633.GA56657@pllab.is.ocha.ac.jp> Message-ID: <34db4173fc09c86c053fc51fab95f2b6@whitequark.org> X-Sender: whitequark@whitequark.org User-Agent: Roundcube Webmail/1.1-beta Subject: Re: [Caml-list] Can I pass added command line option through ocamlfind? On 2014-12-06 16:06, Kenichi Asai wrote: > Following Francois Ripault's comment, I am studying OCamlDoc's custom > tags. (Thank you Francois!) I implemented the attached custom > generator implementing @en and @ja tags together with a new command > line option "-lang". Now, what I want to do is: > > ocamlfind ocamldoc -package lablgtk2.gnomecanvas -g custom.cmxs -d > html -lang ja file.ml ... > > However, since ocamlfind does not recognize -lang as a proper option > for ocamldoc, I get: > > ocamldoc: unknown option `-lang'. > > Is there any way to tell ocamlfind to pass the '-lang ja' option as is > to ocamldoc? Alternatively, how do I specify the equivalent of > '-package lablgtk2.gnomecanvas' without using ocamlfind? I tried: You can use: ocamlfind -passopt '-lang ja' ... -- Peter Zotov