Commits

Barry Schwartz committed 1bc41bf

Change "make install" to first remove any existing version. This makes installation more like what one is used to with autotools.

Comments (0)

Files changed (2)

 	$(OCAMLC) -o $@ -dllib dll$(CAML2GEOM) $(CAML2GEOM).cma $<
 
 install-data-local: all
+	-$(MLFIND) remove $(CAML2GEOM)
 	$(MLFIND) install $(CAML2GEOM) $(srcdir)/META \
 		$(CAML2GEOM).cma $(CAML2GEOM).cmxa $(CAML2GEOM).cmi \
 	    lib$(CAML2GEOM).a $(CAML2GEOM).a \
 
     make uninstall
 
-Installation and uninstallation are done with ocamlfind. One
-consequence of this is that, if you already have a version of
-caml2geom installed, you might not be able to run a successful "make
-install" without first running "make uninstall".
+Installation and uninstallation are done with ocamlfind.
 
 See also the file INSTALL.