Commit 32b4267a authored by erwan's avatar erwan

Try to use the opam $NAME.install file to install the lutin package properly.

parent cbed4829
......@@ -268,5 +268,4 @@ lutin.native
polka/C/
polka/caml/
source/
src/
......@@ -39,11 +39,9 @@ setup.ml:_oasis lutin/src/version.ml polka/vector.ml lutin-utils/src/lutinUtils.
oasis setup
BINPATH=$(shell dirname `which ocamlc`)/..
LIBPATH=$(shell shell ocamlc -where)/../lutin/
setup.data:configure
configure: setup.ml
ocaml setup.ml -configure --prefix $(BINPATH) --exec-prefix $(BINPATH)
ocaml setup.ml -configure
.PHONY:doc
doc:
......@@ -52,21 +50,15 @@ doc:
man:
cd doc/lutin-man/ && make
install-man:
cp doc/lutin-man/lutin-man.pdf $(LIBPATH)
install:
ocaml setup.ml -install
cp lutin/src/lut4c_stubs.h $(shell ocamlc -where)/../lutin/
uninstall:
ocaml setup.ml -uninstall
rm -f $(shell ocamlc -where)/../lutin/lut4c_stubs.h
reinstall:
ocaml setup.ml -reinstall
cp lutin/src/lut4c_stubs.h $(shell ocamlc -where)/../lutin/
distclean:
ocaml setup.ml -distclean
......
OASISFormat: 0.4
Name: Lutin
Version: 2.32
Version: 2.33
Authors: Erwan Jahier
Maintainers: erwan.jahier@imag.fr
License: PROP
......@@ -14,7 +14,6 @@ Description:
automated testing of reactive systems with Lurette.
BuildTools: ocamlbuild
PreBuildCommand: make lutin/src/version.ml
PostInstallCommand: cp utils/simec_trap $exec_prefix/bin; cp utils/read-rif.sh $exec_prefix/bin; cp utils/lurette $exec_prefix/bin
#PreBuildCommand: make gen_version
......
etc: [
"setup.ml"
"setup.data"
"setup.log"
]
bin: [
"utils/simec_trap"
"utils/read-rif.sh"
"utils/lurette"
]
doc: [
"doc/lutin-man/lutin-man.pdf"
]
lib: [
"lutin/src/lut4c_stubs.h"
]
\ No newline at end of file
let str="2.32"
let sha="0f939d6"
let str="2.33"
let sha="cbed482"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment