ocaml-pyml/ocaml-pyml.patch

21 lines
651 B
Diff

diff --git a/Makefile b/Makefile
index e78ffa9..4b8555c 100644
--- a/Makefile
+++ b/Makefile
@@ -207,13 +207,13 @@ install : $(INSTALL_FILES)
ifeq ($(HAVE_OCAMLFIND),no)
$(error ocamlfind is needed for 'make install')
endif
- $(OCAMLFIND) install pyml $(INSTALL_FILES)
+ $(OCAMLFIND) install $(OCAMLFIND_EXTRA_OPTIONS) pyml $(INSTALL_FILES)
[ ! -f pymltop ] || $(INSTALL_PROGRAM) pymltop $(bindir)/pymltop
[ ! -f pymlutop ] || $(INSTALL_PROGRAM) pymlutop $(bindir)/pymlutop
.PHONY : uninstall
uninstall :
- $(OCAMLFIND) remove pyml
+ $(OCAMLFIND) remove $(OCAMLFIND_EXTRA_OPTIONS) pyml
- rm $(bindir)/pymltop
- rm $(bindir)/pymlutop