From: Peter Zotov <whitequark@whitequark.org>
To: Kenichi Asai <asai@is.ocha.ac.jp>
Cc: caml-list@inria.fr, caml-list-request@inria.fr
Subject: Re: [Caml-list] Can I pass added command line option through ocamlfind?
Date: Sat, 06 Dec 2014 16:43:40 +0300 [thread overview]
Message-ID: <34db4173fc09c86c053fc51fab95f2b6@whitequark.org> (raw)
In-Reply-To: <20141206130633.GA56657@pllab.is.ocha.ac.jp>
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
next prev parent reply other threads:[~2014-12-06 13:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-06 13:06 Kenichi Asai
2014-12-06 13:43 ` Peter Zotov [this message]
2014-12-06 15:17 ` Kenichi Asai
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=34db4173fc09c86c053fc51fab95f2b6@whitequark.org \
--to=whitequark@whitequark.org \
--cc=asai@is.ocha.ac.jp \
--cc=caml-list-request@inria.fr \
--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