Commit 32b4267a authored by erwan's avatar erwan
Browse files

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

parent cbed4829
...@@ -268,5 +268,4 @@ lutin.native ...@@ -268,5 +268,4 @@ lutin.native
polka/C/ polka/C/
polka/caml/ polka/caml/
source/ source/
src/
...@@ -39,11 +39,9 @@ setup.ml:_oasis lutin/src/version.ml polka/vector.ml lutin-utils/src/lutinUtils. ...@@ -39,11 +39,9 @@ setup.ml:_oasis lutin/src/version.ml polka/vector.ml lutin-utils/src/lutinUtils.
oasis setup oasis setup
BINPATH=$(shell dirname `which ocamlc`)/..
LIBPATH=$(shell shell ocamlc -where)/../lutin/
setup.data:configure setup.data:configure
configure: setup.ml configure: setup.ml
ocaml setup.ml -configure --prefix $(BINPATH) --exec-prefix $(BINPATH) ocaml setup.ml -configure
.PHONY:doc .PHONY:doc
doc: doc:
...@@ -52,21 +50,15 @@ doc: ...@@ -52,21 +50,15 @@ doc:
man: man:
cd doc/lutin-man/ && make cd doc/lutin-man/ && make
install-man:
cp doc/lutin-man/lutin-man.pdf $(LIBPATH)
install: install:
ocaml setup.ml -install ocaml setup.ml -install
cp lutin/src/lut4c_stubs.h $(shell ocamlc -where)/../lutin/
uninstall: uninstall:
ocaml setup.ml -uninstall ocaml setup.ml -uninstall
rm -f $(shell ocamlc -where)/../lutin/lut4c_stubs.h
reinstall: reinstall:
ocaml setup.ml -reinstall ocaml setup.ml -reinstall
cp lutin/src/lut4c_stubs.h $(shell ocamlc -where)/../lutin/
distclean: distclean:
ocaml setup.ml -distclean ocaml setup.ml -distclean
......
OASISFormat: 0.4 OASISFormat: 0.4
Name: Lutin Name: Lutin
Version: 2.32 Version: 2.33
Authors: Erwan Jahier Authors: Erwan Jahier
Maintainers: erwan.jahier@imag.fr Maintainers: erwan.jahier@imag.fr
License: PROP License: PROP
...@@ -14,7 +14,6 @@ Description: ...@@ -14,7 +14,6 @@ Description:
automated testing of reactive systems with Lurette. automated testing of reactive systems with Lurette.
BuildTools: ocamlbuild BuildTools: ocamlbuild
PreBuildCommand: make lutin/src/version.ml 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 #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 str="2.33"
let sha="0f939d6" 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