aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2017-03-02 23:37:33 +0100
committerGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2017-03-03 00:15:39 +0100
commit5ee6e1ac4782ce0c2fb45f3927d210d3f1207053 (patch)
tree110892b499a3736ed2b75335975836eed80b04bb
parent27e8d8857ea5435ccec9eddd6c34324de82afd32 (diff)
[ltac] Move dummy plugin to plugins folder.
This is needed to fix `Declare ML Module "ltac_plugin".
-rw-r--r--Makefile.common5
-rw-r--r--ltac/ltac.mllib1
-rw-r--r--plugins/ltac/LtacDummy.v2
-rw-r--r--plugins/ltac/ltac_dummy.ml (renamed from ltac/ltac_plugin.ml)0
-rw-r--r--plugins/ltac/ltac_dummy.mli (renamed from ltac/ltac_plugin.mli)0
-rw-r--r--plugins/ltac/ltac_plugin.mlpack1
-rw-r--r--plugins/ltac/vo.itarget1
7 files changed, 7 insertions, 3 deletions
diff --git a/Makefile.common b/Makefile.common
index 49fe1fd93..a2b59a93b 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -62,7 +62,7 @@ PLUGINDIRS:=\
setoid_ring extraction fourier \
cc funind firstorder derive \
rtauto nsatz syntax decl_mode btauto \
- ssrmatching
+ ssrmatching ltac
SRCDIRS:=\
$(CORESRCDIRS) \
@@ -120,6 +120,7 @@ OTHERSYNTAXCMO:=$(addprefix plugins/syntax/, \
string_syntax_plugin.cmo )
DECLMODECMO:=plugins/decl_mode/decl_mode_plugin.cmo
DERIVECMO:=plugins/derive/derive_plugin.cmo
+LTACCMO:=plugins/ltac/ltac_plugin.cmo
SSRMATCHINGCMO:=plugins/ssrmatching/ssrmatching_plugin.cmo
PLUGINSCMO:=$(OMEGACMO) $(ROMEGACMO) $(MICROMEGACMO) $(DECLMODECMO) \
@@ -127,7 +128,7 @@ PLUGINSCMO:=$(OMEGACMO) $(ROMEGACMO) $(MICROMEGACMO) $(DECLMODECMO) \
$(FOURIERCMO) $(EXTRACTIONCMO) \
$(CCCMO) $(FOCMO) $(RTAUTOCMO) $(BTAUTOCMO) \
$(FUNINDCMO) $(NSATZCMO) $(NATSYNTAXCMO) $(OTHERSYNTAXCMO) \
- $(DERIVECMO) $(SSRMATCHINGCMO)
+ $(DERIVECMO) $(SSRMATCHINGCMO) $(LTACCMO)
ifeq ($(HASNATDYNLINK)-$(BEST),false-opt)
STATICPLUGINS:=$(PLUGINSCMO)
diff --git a/ltac/ltac.mllib b/ltac/ltac.mllib
index 974943ddd..fc51e48ae 100644
--- a/ltac/ltac.mllib
+++ b/ltac/ltac.mllib
@@ -20,4 +20,3 @@ G_rewrite
Tauto
G_eqdecide
G_ltac
-Ltac_plugin
diff --git a/plugins/ltac/LtacDummy.v b/plugins/ltac/LtacDummy.v
new file mode 100644
index 000000000..4f96bbaeb
--- /dev/null
+++ b/plugins/ltac/LtacDummy.v
@@ -0,0 +1,2 @@
+(* The sole reason of this file is to trick coq's build system to build the dummy ltac plugin *)
+Declare ML Module "ltac_plugin".
diff --git a/ltac/ltac_plugin.ml b/plugins/ltac/ltac_dummy.ml
index e69de29bb..e69de29bb 100644
--- a/ltac/ltac_plugin.ml
+++ b/plugins/ltac/ltac_dummy.ml
diff --git a/ltac/ltac_plugin.mli b/plugins/ltac/ltac_dummy.mli
index e69de29bb..e69de29bb 100644
--- a/ltac/ltac_plugin.mli
+++ b/plugins/ltac/ltac_dummy.mli
diff --git a/plugins/ltac/ltac_plugin.mlpack b/plugins/ltac/ltac_plugin.mlpack
new file mode 100644
index 000000000..6efb477cc
--- /dev/null
+++ b/plugins/ltac/ltac_plugin.mlpack
@@ -0,0 +1 @@
+Ltac_dummy
diff --git a/plugins/ltac/vo.itarget b/plugins/ltac/vo.itarget
new file mode 100644
index 000000000..4eff76566
--- /dev/null
+++ b/plugins/ltac/vo.itarget
@@ -0,0 +1 @@
+LtacDummy.vo