X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile;h=a2f89ae92946e07e49493a4b8ad2b71117e6518a;hb=96dd98486e3ee611d731443e22a4ab9744de489b;hp=af27b1dded1c2151dfc0a6523b8c8ee64bc644e5;hpb=a0ceaf3a5434a582b1cb3a66620e7309f0cc37a6;p=vsys.git diff --git a/Makefile b/Makefile index af27b1d..a2f89ae 100644 --- 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 ./ @@ -43,7 +43,7 @@ splice_stub.o: splice_stub.c gcc -c -I /usr/lib/ocaml -I /usr/lib64/ocaml splice_stub.c -o splice_stub.o vsys: ocaml_inotify-0.4/inotify.cmxa globals.cmx fdwatcher.cmx conffile.cmx splice_stub.o splice.cmx dirwatcher.cmx fifowatcher.cmx frontend.cmx unixsocketwatcher.cmx backend.cmx main.cmx -ifeq "$(OCAML_OLD)" "" +ifneq "$(OCAML_OLD)" "" ocamlopt -I ocaml_inotify-0.4 str.cmxa unix.cmxa inotify.cmxa globals.cmx fdwatcher.cmx dirwatcher.cmx splice.cmx splice_stub.o directfifowatcher.cmx unixsocketwatcher.cmx frontend.cmx backend.cmx str.cmxa conffile.cmx main.cmx -o vsys else ocamlopt -I ocaml_inotify-0.4 str.cmxa unix.cmxa inotify.cmxa globals.cmx fdwatcher.cmx dirwatcher.cmx splice.cmx splice_stub.o directfifowatcher.cmx unixsocketwatcher.cmx frontend.cmx backend.cmx conffile.cmx main.cmx -o vsys