[Pkg-ocaml-maint-commits] [SCM] ocaml-batteries packaging branch, features/flexi-build, updated. upstream/0.20081011-5-g467d979
Stefano Zacchiroli
zack at upsilon.cc
Sun Oct 12 17:39:31 UTC 2008
The following commit has been merged in the features/flexi-build branch:
commit 467d979ff9d45df607c37cfbc6eed76c77ce8a1c
Author: Stefano Zacchiroli <zack at upsilon.cc>
Date: Sun Oct 12 19:13:24 2008 +0200
create destdir if missing
diff --git a/Makefile b/Makefile
index 2524e7c..13b1da3 100644
--- a/Makefile
+++ b/Makefile
@@ -32,6 +32,9 @@ ifeq ($(DESTDIR),)
DESTDIR_FLAGS =
else
DESTDIR_FLAGS = -destdir $(DESTDIR)
+install: install-mkdir
+install-mkdir:
+ test -d $(DESTDIR) || mkdir -p $(DESTDIR)
endif
test:
--
ocaml-batteries packaging
More information about the Pkg-ocaml-maint-commits
mailing list