X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile;h=b5272ca7f20023ba58b49256428a18c0d28ed951;hb=26326ab885a36f7e0661703b735109df36520b30;hp=d68413c350a6afb04ffb03d1822b6f42c6dbd5af;hpb=44e09edfafd0348824f88d46ff926ac859aad299;p=vsys.git diff --git a/Makefile b/Makefile index d68413c..b5272ca 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -all: vsys factory-exec/* +all: vsys include .dep @@ -39,19 +39,13 @@ vsys: ocaml_inotify-0.4/inotify.cmxa globals.cmx fdwatcher.cmx conffile.cmx spli vsys.b: ocaml_inotify-0.4/inotify.cma inotify.cmi globals.ml fdwatcher.ml dirwatcher.ml directfifowatcher.ml frontend.ml backend.ml main.ml ocamlc -g str.cma unix.cma ocaml_inotify-0.4/inotify.cma globals.cmo fdwatcher.cmo dirwatcher.cmo directfifowatcher.cmo frontend.cmo backend.cmo str.cma conffile.cmo main.cmo -o vsys.b -factory-exec/%: factory/% - $(MAKE) -C factory/ - cp -fR factory/ factory-exec - -install: vsys factory +install: vsys cp vsys $(INSTALL_DIR)/usr/bin cp vsys-initscript $(INSTALL_DIR)/etc/init.d/vsys - cp -fR factory/ factory-exec/ dep: ocamldep *.ml > .dep clean: $(MAKE) -C ocaml_inotify-0.4 clean - $(MAKE) -C factory clean rm -f *.cmi *.cmx sys usys *.o vsys vsys.b *.html *.css