diff --git a/Makefile b/Makefile index 4edd338..6f17118 100644 --- a/Makefile +++ b/Makefile @@ -185,7 +185,7 @@ install-%: $(if $(filter yes,$($(PROJECT).install)),\ $(OCAMLFIND) install -add ctypes -optional $^ \ $(LIB_TARGETS) $(LIB_TARGET_EXTRAS) \ - $(INSTALL_MLIS) $(INSTALL_CMIS) \ + $(INSTALL_MLS) $(INSTALL_MLIS) $(INSTALL_CMIS) \ $(INSTALL_CMTS) $(INSTALL_CMTIS) \ $(INSTALL_HEADERS) \ $(if $(filter yes,$($(PROJECT).install_native_objects)),$(NATIVE_OBJECTS))) diff --git a/Makefile.rules b/Makefile.rules index 175bc06..3ec8672 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -81,6 +81,7 @@ INSTALL_CMIS = $($(PROJECT).public:%=$(BUILDDIR)/$($(PROJECT).dir)/%.cmi) \ INSTALL_CMTIS = $($(PROJECT).public:%=$(BUILDDIR)/$($(PROJECT).dir)/%.cmti) INSTALL_CMTS = $($(PROJECT).public:%=$(BUILDDIR)/$($(PROJECT).dir)/%.cmt) INSTALL_MLIS = $($(PROJECT).public:%=$($(PROJECT).dir)/%.mli) +INSTALL_MLS = $($(PROJECT).public:%=$($(PROJECT).dir)/%.ml) INSTALL_HEADERS = $(wildcard $($(PROJECT).dir)/*.h) $($(PROJECT).extra_hs) THREAD_FLAG = $(if $(filter yes,$($(PROJECT).threads)),-thread) LINK_FLAGS = $(as_needed_flags) $($(PROJECT).link_flags)