summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJon French2019-03-13 16:14:06 +0000
committerJon French2019-03-13 16:14:06 +0000
commit1fc69968a831305f2db43544b503fffc9b4106cc (patch)
tree6b534e3549be039ae0952f2b1810b6a5d9c504eb /Makefile
parent686c874d22ab3446024897098de5c4abf713563c (diff)
package and install Sail as an ocamlfind library
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index dfe950de..bb4f9040 100644
--- a/Makefile
+++ b/Makefile
@@ -30,10 +30,12 @@ install:
cp src/util.ml $(SHARE_DIR)/src
cp -r src/gen_lib $(SHARE_DIR)/src
cp -r src/lem_interp $(SHARE_DIR)/src
+ ocamlfind install sail src/META src/_build/libsail.* $$(find src/_build \( -name '*.mli' -or -name '*.cmi' -or -name '*.cmx' \) -and -not -name 'myocamlbuild.*')
uninstall:
if [ -z "$(SHARE_DIR)" ]; then echo SHARE_DIR is unset; false; else rm -rf $(SHARE_DIR); fi
rm -f $(INSTALL_DIR)/bin/sail
+ ocamlfind remove sail
language:
$(MAKE) -C language