]> git.pld-linux.org Git - packages/ocaml-dbm.git/commitdiff
- updated patch
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 29 Mar 2021 20:30:34 +0000 (22:30 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 29 Mar 2021 20:30:34 +0000 (22:30 +0200)
ocaml-dbm-destdir.patch

index f698c4432fa8581751590e158f7bacf814661c9b..cb36943d47f94947e0b3a3cf6115d648db367d55 100644 (file)
@@ -4,14 +4,14 @@
        $(OCAMLDEP) *.ml *.mli > .depend
  
  install::
--      if test -f dllcamldbm.$(SO); then cp dllcamldbm.$(SO) $(STUBLIBDIR)/; fi 
+-      if test -f dllcamldbm.$(SO); then mkdir $(STUBLIBDIR) || echo Ok; cp dllcamldbm.$(SO) $(STUBLIBDIR)/; fi 
 -      cp libcamldbm.$(A) $(LIBDIR)/
 -      cd $(LIBDIR) && ranlib libcamldbm.$(A)
 -      cp dbm.cma dbm.cmxa dbm.cmi dbm.mli $(LIBDIR)/
 -      cp dbm.$(A) $(LIBDIR)/
 -      cd $(LIBDIR) && ranlib dbm.$(A)
 -      if test -f dbm.cmxs; then cp dbm.cmxs $(LIBDIR)/; fi
-+      if test -f dllcamldbm.$(SO); then cp dllcamldbm.$(SO) $(DESTDIR)$(STUBLIBDIR)/; fi 
++      if test -f dllcamldbm.$(SO); then mkdir $(DESTDIR)$(STUBLIBDIR) || echo Ok; cp dllcamldbm.$(SO) $(DESTDIR)$(STUBLIBDIR)/; fi 
 +      cp libcamldbm.$(A) $(DESTDIR)$(LIBDIR)/
 +      cd $(DESTDIR)$(LIBDIR) && ranlib libcamldbm.$(A)
 +      cp dbm.cma dbm.cmxa dbm.cmi dbm.mli $(DESTDIR)$(LIBDIR)/
This page took 0.072889 seconds and 4 git commands to generate.