diff options
| author | Shaked Flur | 2019-04-17 14:26:35 +0100 |
|---|---|---|
| committer | Shaked Flur | 2019-04-17 14:26:35 +0100 |
| commit | 52c6edef48da7c3ece39ec78d8925fba8c1bb62d (patch) | |
| tree | e955d75c90a5cc5b19423605c184d4a191f9ab14 | |
| parent | f091479ccfbe7861cd0620cef414887ccfe65090 (diff) | |
Allow libsail to be installed without the other things (for rmem)
| -rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -30,11 +30,18 @@ install: cp src/util.ml $(SHARE_DIR)/src cp -r src/gen_lib $(SHARE_DIR)/src cp -r src/lem_interp $(SHARE_DIR)/src + $(MAKE) install_libsail + +install_libsail: + -$(MAKE) uninstall_libsail 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 + $(MAKE) uninstall_libsail + +uninstall_libsail: ocamlfind remove sail language: |
