[Pkg-ocaml-maint-commits] [SCM] dose2 packaging branch, master, updated. a6e2dc48f8f8c55538b596ae7e3015187c714278
Stefano Zacchiroli
zack at upsilon.cc
Thu May 15 22:08:27 UTC 2008
The following commit has been merged in the master branch:
commit 992e47177a638504d0ceab3a2e14b10d99774050
Author: Stefano Zacchiroli <zack at upsilon.cc>
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
More information about the Pkg-ocaml-maint-commits
mailing list