aboutsummaryrefslogtreecommitdiff
path: root/Makefile.build
diff options
context:
space:
mode:
authorMatthieu Sozeau2015-06-23 15:39:47 +0200
committerMatthieu Sozeau2015-06-26 16:19:43 +0200
commitef6459b00999a29183edc09de9035795ff7912e9 (patch)
tree000e6711c77b8d6abe40c27b5026c146cca85775 /Makefile.build
parentaac2d2ac490492f8466e1d45ba0079de376fe25a (diff)
Add target to install dev files.
Diffstat (limited to 'Makefile.build')
-rw-r--r--Makefile.build8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.build b/Makefile.build
index 16c5730865..71fd8fb544 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