diff options
author | Matthieu Sozeau <matthieu.sozeau@inria.fr> | 2015-06-23 15:39:47 +0200 |
---|---|---|
committer | Matthieu Sozeau <matthieu.sozeau@inria.fr> | 2015-06-26 16:19:43 +0200 |
commit | ef6459b00999a29183edc09de9035795ff7912e9 (patch) | |
tree | 000e6711c77b8d6abe40c27b5026c146cca85775 | |
parent | aac2d2ac490492f8466e1d45ba0079de376fe25a (diff) |
Add target to install dev files.
-rw-r--r-- | Makefile.build | 8 | ||||
-rw-r--r-- | Makefile.common | 4 |
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 |