The following commit has been merged in the master branch:
commit 992e47177a638504d0ceab3a2e14b10d99774050
Author: Stefano Zacchiroli <[EMAIL PROTECTED]>
Date:   Thu May 15 23:59:51 2008 +0200

    create DESTDIR as needed

diff --git a/Makefile.in b/Makefile.in
index e4aff06..6cbcadb 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -46,9 +46,11 @@ depend:
 
 ifneq ($(DESTDIR),)
 DESTDIR_FLAGS = -destdir $(DESTDIR)
+$(DESTDIR):
+       mkdir -p $(DESTDIR)
 endif
 
-install: @BEST@
+install: @BEST@ $(DESTDIR)
 ifeq (@OCAMLBEST@, byte)
        @OCAMLFIND@ install $(DESTDIR_FLAGS) -patch-version -patch-archives 
@VERSION@ dose2 META $(CMAS)
 else

-- 
dose2 packaging

_______________________________________________
Pkg-ocaml-maint-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to