Create the directory before copying files into it.

Signed-off-by: Luis R. Rodriguez <[email protected]>
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index 2b6c78a..8700df5 100644
--- a/Makefile
+++ b/Makefile
@@ -188,6 +188,7 @@ top: $(EXEC).top
 
 # the .cmi file of coccilib
 ocaml/coccilib/coccilib.cmi: ocaml/coccilib.cmi
+       @mkdir -p ocaml/coccilib/
        cp ocaml/coccilib.cmi ocaml/coccilib/coccilib.cmi
 
 # ocamlbuild version of the main make targets
-- 
1.8.4.3

_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to