aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile.install
diff options
context:
space:
mode:
authorGravatar Vincent Laporte <Vincent.Laporte@gmail.com>2018-05-28 16:05:05 +0000
committerGravatar Vincent Laporte <Vincent.Laporte@gmail.com>2018-05-29 09:33:48 +0000
commit21b7b67e7a6e9d4c4afaf13f2b77bab116709465 (patch)
treec818eec55a95245a1b97ad203d60184f116f11cf /Makefile.install
parentba809fa844b517e8a3606d9f6a6cac22e5585e27 (diff)
[Makefile] New target “install-merlin”
Building this target installs the files that are used by merlin: - .merlin files (.merlin); - bin-annot files (.cmt, .cmti); - source files (.ml, .mli). Plug-in developpers can thus work with an “installed” version of Coq.
Diffstat (limited to 'Makefile.install')
-rw-r--r--Makefile.install5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.install b/Makefile.install
index 0764b61fc..7f47db561 100644
--- a/Makefile.install
+++ b/Makefile.install
@@ -58,7 +58,7 @@ FULLDOCDIR=$(DOCDIR)
endif
.PHONY: install-coq install-binaries install-byte install-opt
-.PHONY: install-tools install-library install-devfiles
+.PHONY: install-tools install-library install-devfiles install-merlin
.PHONY: install-coq-info install-coq-manpages install-emacs install-latex
.PHONY: install-meta
@@ -112,6 +112,9 @@ ifeq ($(BEST),opt)
$(INSTALLSH) $(FULLCOQLIB) $(LINKCMX) $(CORECMA:.cma=.a) $(STATICPLUGINS:.cma=.a)
endif
+install-merlin:
+ $(INSTALLSH) $(FULLCOQLIB) $(wildcard $(INSTALLCMX:.cmx=.cmt) $(INSTALLCMI:.cmi=.cmti) $(MLIFILES) $(MLFILES) $(MERLINFILES))
+
install-library:
$(MKDIR) $(FULLCOQLIB)
$(INSTALLSH) $(FULLCOQLIB) $(LIBFILES)