fix docs generation
[vsys.git] / Makefile
index 9fec183..a2f89ae 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,7 @@ include .dep
 
 docs: *.ml
        ocamldoc -d . -html -o docs *.ml
-       mv *.html *.css docs
+       mkdir docs && mv *.html *.css docs
 
 ocaml_inotify-0.4/inotify.cmxa:
        $(MAKE) -C ocaml_inotify-0.4 && cp -f ocaml_inotify-0.4/inotify_stubs.o ./