aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Makefile.build8
-rw-r--r--Makefile.common4
2 files changed, 10 insertions, 2 deletions
diff --git a/Makefile.build b/Makefile.build
index 16c573086..71fd8fb54 100644
--- a/Makefile.build
+++ b/Makefile.build
@@ -690,13 +690,13 @@ ifeq ($(LOCAL),true)
install:
@echo "Nothing to install in a local build!"
else
-install: install-coq install-coqide install-doc-$(WITHDOC)
+install: install-coq install-coqide install-doc-$(WITHDOC) install-dev
endif
install-doc-all: install-doc
install-doc-no:
-.PHONY: install install-doc-all install-doc-no
+.PHONY: install install-doc-all install-doc-no install-dev
#These variables are intended to be set by the caller to make
#COQINSTALLPREFIX=
@@ -750,6 +750,10 @@ install-tools:
$(INSTALLLIB) tools/coqdoc/coqdoc.css tools/coqdoc/coqdoc.sty $(FULLCOQLIB)/tools/coqdoc
$(INSTALLBIN) $(TOOLS) $(FULLBINDIR)
+install-dev: $(DEVFILES) $(DEVPRINTERS)
+ $(foreach devf, $(DEVFILES), sed -i -e /\".\"/\"$(FULLCOQLIB)\"/g $(devf))
+ $(INSTALLLIB) $(DEVFILES) $(DEVPRINTERS) $(FULLCOQLIB)/dev
+
# The list of .cmi to install, including the ones obtained
# from .mli without .ml, and the ones obtained from .ml without .mli
diff --git a/Makefile.common b/Makefile.common
index 07df8bb15..5a81dcfbb 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -253,6 +253,10 @@ CSDPCERTCMO:=$(addprefix plugins/micromega/, \
mutils.cmo micromega.cmo \
sos_types.cmo sos_lib.cmo sos.cmo csdpcert.cmo )
+DEVPRINTERS:=dev/vm_printers.ml dev/top_printers.ml
+
+DEVFILES:=dev/base_include dev/include
+
DEBUGPRINTERS:=dev/top_printers.cmo dev/vm_printers.cmo dev/printers.cma
COQDEPCMO:=$(COQENVCMO) tools/coqdep_lexer.cmo tools/coqdep_common.cmo tools/coqdep.cmo