]> git.pld-linux.org Git - packages/ocaml-dbm.git/blame - ocaml-dbm-destdir.patch
- updated to 1.3
[packages/ocaml-dbm.git] / ocaml-dbm-destdir.patch
CommitLineData
e91bfc7e
JB
1--- dbm-camldbm-1.3/Makefile.orig 2022-01-29 16:02:30.175985113 +0100
2+++ dbm-camldbm-1.3/Makefile 2022-01-29 16:06:16.238093763 +0100
3@@ -57,13 +57,13 @@ depend:
c69d1f51
JB
4 $(OCAMLDEP) *.ml *.mli > .depend
5
6 install::
29e8ffbc 7- if test -f dllcamldbm.$(SO); then mkdir $(STUBLIBDIR) || echo Ok; cp dllcamldbm.$(SO) $(STUBLIBDIR)/; fi
c69d1f51
JB
8- cp libcamldbm.$(A) $(LIBDIR)/
9- cd $(LIBDIR) && ranlib libcamldbm.$(A)
e91bfc7e 10- cp dbm.cmx dbm.cma dbm.cmxa dbm.cmi dbm.mli $(LIBDIR)/
c69d1f51
JB
11- cp dbm.$(A) $(LIBDIR)/
12- cd $(LIBDIR) && ranlib dbm.$(A)
13- if test -f dbm.cmxs; then cp dbm.cmxs $(LIBDIR)/; fi
e91bfc7e
JB
14+ if test -f dllcamldbm.$(SO); then mkdir $(DESTDIR)$(STUBLIBDIR) || echo Ok; cp -p dllcamldbm.$(SO) $(DESTDIR)$(STUBLIBDIR)/; fi
15+ cp -p libcamldbm.$(A) $(DESTDIR)$(LIBDIR)/
c69d1f51 16+ cd $(DESTDIR)$(LIBDIR) && ranlib libcamldbm.$(A)
e91bfc7e
JB
17+ cp -p dbm.cmx dbm.cma dbm.cmxa dbm.cmi dbm.mli $(DESTDIR)$(LIBDIR)/
18+ cp -p dbm.$(A) $(DESTDIR)$(LIBDIR)/
c69d1f51 19+ cd $(DESTDIR)$(LIBDIR) && ranlib dbm.$(A)
e91bfc7e 20+ if test -f dbm.cmxs; then cp -p dbm.cmxs $(DESTDIR)$(LIBDIR)/; fi
c69d1f51
JB
21
22 clean::
23 rm -f *.cm* *.$(O) *.$(A) *.$(SO)
This page took 0.154672 seconds and 4 git commands to generate.