Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warning 58 #3

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
9 changes: 5 additions & 4 deletions Makefile.config
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
DESTDIR=$(OPAM_SWITCH_PREFIX)
# comment this line if you don't want to compile with ocamlopt
CAMLOPT=ocamlopt
CAMLOPT=ocamlopt.opt

# this is the path of OCaml standard library
OCAMLLIBDIR:=$(shell ocamlc -where)

# this is the path where you want to install the library of dypgen
DYPGENLIBDIR:=$(DESTDIR)$(OCAMLLIBDIR)
DYPGENLIBDIR:=$(DESTDIR)/lib

# this is the path where you want to install dypgen and dyp2gram.pl
BINDIR:=$(DESTDIR)/usr/bin
BINDIR:=$(DESTDIR)/bin

MANDIR:=$(DESTDIR)/usr/share/man/man1
MANDIR:=$(DESTDIR)/share/man/man1
11 changes: 4 additions & 7 deletions grain_dypgen.opam → dypgen.opam
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
opam-version: "2.0"
maintainer: "https://github.com/ocaml/opam-repository/issues"
authors: ["Emmanuel Onzo" "Philip Blair"]
authors: ["Emmanuel Onzon" "Philip Blair" "Sylvain Kerjean"]
homepage: "https://github.com/grain-lang/dypgen"
dev-repo: "git+https://github.com/grain-lang/dypgen.git"
dev-repo: "git+https://github.com/Sylvain78/dypgen.git"
license: "CeCILL-B"
build: make
depends: [
Expand All @@ -16,11 +16,8 @@ install: [
["sh.exe" "-c" "if [ -f '%{bin}%/dypgen.opt' ] && [ ! -f '%{bin}%/dypgen.opt.exe' ] ; then mv '%{bin}%/dypgen.opt' '%{bin}%/dypgen.opt.exe' ; fi" ] { os = "win32" }
]
synopsis: "Self-extensible parsers and lexers for OCaml"
description: """
dypgen is a GLR parser generator for OCaml, it is able to
generate self-extensible parsers (also called adaptive parsers) as
well as extensible lexers for the parsers it produces.
(fork of pre-4.06 dypgen: http://dypgen.free.fr/)"""
description:
"dypgen is a GLR parser generator for OCaml, it is able to generate self-extensible parsers (also called adaptive parsers) as well as extensible lexers for the parsers it produces. (fork of pre-4.06 dypgen: http://dypgen.free.fr/)"
extra-files: [
["install-bsd-compatible.patch" "md5=f4885881bb9e16bae3f9e88ebb54c582"]
["dypgen.install" "md5=3af2bc7343588caf1a6de8af49a3b1b5"]
Expand Down
4 changes: 2 additions & 2 deletions dypgen/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
include ../Makefile.config
SOURCES = argument.ml extract_type.mll dypgen_parser.ml dypgen_lexer.mll insert_linenum.mll dypgen.ml
REP = -I ../dyplib
CAMLC = ocamlc $(REP)
CAMLC = ocamlc.opt $(REP)
DYPGEN = ./dypgen --ocamlc "-rectypes -I ../dyplib"
LIBS=dyp.cma
LIBS=str.cma dyp.cma

all: dypgen dypgen.opt

Expand Down
Loading