ocaml-ocamlgraph/ocamlgraph-1.8.1-install-extras.patch
2011-10-28 10:57:20 -06:00

18 lines
763 B
Diff

--- Makefile.in.orig 2011-10-17 08:27:03.000000000 -0600
+++ Makefile.in 2011-10-25 11:25:33.708625231 -0600
@@ -349,8 +349,12 @@
$(OCAMLFIND) install ocamlgraph META \
$(SRCDIR)/*.mli $(VIEWER_DIR)/*.mli $(DGRAPH_DIR)/*.mli \
graph$(LIBEXT) graph.cmx graph.cmo graph.cmi $(CMA) $(CMXA) \
- $(VIEWER_CMXLIB) $(VIEWER_CMOLIB) $(DGRAPH_CMXLIB) \
- $(DGRAPH_CMOLIB)
+ $(VIEWER_CMILIB) $(VIEWER_CMXLIB) \
+ $(VIEWER_CMXLIB:.cmx=.o) $(VIEWER_CMOLIB) \
+ $(DGRAPH_CMILIB) $(DGRAPH_CMXLIB) \
+ $(DGRAPH_CMXLIB:.cmx=.o) $(DGRAPH_CMOLIB) \
+ $(filter-out dgraph/dGraphTest.cmx, $(DGRAPH_CMX)) \
+ $(filter-out dgraph/dGraphTest.cmo, $(DGRAPH_CMO))
else
$(OCAMLFIND) install ocamlgraph META \
$(SRCDIR)/*.mli $(VIEWER_DIR)/*.mli $(DGRAPH_DIR)/*.mli \