From 09aa799947c84148221af82e94e911adea8fd1e6 Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli Date: Sun, 20 Jan 2002 14:46:32 +0000 Subject: [PATCH] Added "-destdir" argument to "ocamlfind install" in "install:" target of Makefile.in, ease creation of debian package and non standard installation. --- helm/DEVEL/mlminidom/Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.39.2