From: Stefano Zacchiroli Date: Sun, 20 Jan 2002 14:46:32 +0000 (+0000) Subject: Added "-destdir" argument to "ocamlfind install" in "install:" X-Git-Tag: mlminidom_0_2_2~1 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=09aa799947c84148221af82e94e911adea8fd1e6;p=helm.git Added "-destdir" argument to "ocamlfind install" in "install:" target of Makefile.in, ease creation of debian package and non standard installation. --- diff --git a/helm/DEVEL/mlminidom/Makefile.in b/helm/DEVEL/mlminidom/Makefile.in index e18583fc7..fac5c98c7 100644 --- a/helm/DEVEL/mlminidom/Makefile.in +++ b/helm/DEVEL/mlminidom/Makefile.in @@ -13,6 +13,7 @@ PREDICATES = OCAMLC = ocamlfind ocamlc OCAMLOPT = ocamlfind ocamlopt OCAMLDEP = ocamldep +DESTDIR = /usr/lib/ocaml ARCHIVE = $(PACKAGE).cma ARCHIVE_C = $(PACKAGE).a @@ -81,7 +82,7 @@ test.opt: test.ml $(OBJECTS_C) $(ARCHIVE_C) $(ARCHIVE_OPT) install: test ! -f $(ARCHIVE_OPT) || extra="$(ARCHIVE_C) $(ARCHIVE_OPT)" ; \ - ocamlfind install $(PACKAGE) $(OBJECTS_C) $(ARCHIVE) $(INST) $$extra + ocamlfind install -destdir $(DESTDIR) $(PACKAGE) $(OBJECTS_C) $(ARCHIVE) $(INST) $$extra uninstall: ocamlfind remove $(PACKAGE)