Alternatively, you could edit _tags file the following after calling oasis setup. # OASIS_START # DO NOT EDIT (digest: d41d8cd98f00b204e9800998ecf8427e) # OASIS_STOP *true : use_menhir, explain* On Thu, Nov 10, 2016 at 9:52 AM, Francois BERENGER < francois.berenger@inria.fr> wrote: > On 11/10/2016 10:49 AM, Laurent Thévenoux wrote: > > OASIS doesn’t generate me a Makefile. Here my _oasis file (a very basic > start): > > Sorry, I forgot: add this line after your License line in your _oasis file: > Plugins: DevFiles (0.4) > > cf. http://oasis.forge.ocamlcore.org/MANUAL.html#plugin-devfiles-extra > > > — > > OASISFormat: 0.4 > > Name: name > > Version: 0.1 > > Synopsis: synopsis > > Authors: Laurent > > License: CeCILL > > > > Executable exe > > Path: src > > BuildTools: ocamlbuild > > BuildDepends: str > > MainIs: main.ml > > — > > > > Then, I run oasis setup, and, ocaml setup.ml -configure, and finally, > ocaml setup.ml -build. > > > > It fails during the build because ocamlyacc is called to build a menhir > parser. > > > > Did I miss anything? > > > > — > > Laurent > > > >> Le 10 nov. 2016 à 10:27, Francois BERENGER > a écrit : > >> > >> On 11/10/2016 10:08 AM, Laurent Thévenoux wrote: > >>> Hello, > >>> > >>> I’m trying to use OASIS to configure a project written in OCaml. I > currently use a Makefile which works fine but doesn’t allow enough > possibilities. My project uses the menhir parser but OASIS attempts to use > ocamlyacc. > >>> > >>> How can I specify that I need to run ocamlbuild with -use-menhir > instead of ocamlyacc ? > >> > >> Put a BUILFLAGS line as the first line of your Makefile: > >> > >> --- > >> BUILDFLAGS = " -use-menhir " > >> # OASIS_START > >> [...] > >> --- > >> > >> This part of the Makefile will be kept by oasis. > >> > >> -- > >> Regards, > >> Francois. > >> "When in doubt, use more types" > >> > >> -- > >> 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 > > > > -- > Regards, > Francois. > "When in doubt, use more types" > > -- > 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 >