reminder application, uses a logarithmic falloff to time reminder emails
all: remind.cmo remind_daemon
sendmail.cmo:
ocamlfind ocamlc -package ssl,netstring -c sendmail.ml
remind.cmo: sendmail.cmo
ocamlfind ocamlc -syntax camlp4o -package ocsigen,lwt,orm.syntax,batteries,cryptokit -thread -c remind.ml
remind_daemon: sendmail.cmo
ocamlfind ocamlc -syntax camlp4o -package netstring,orm.syntax,batteries,cryptokit -c remind_daemon.ml
ocamlfind ocamlc -linkpkg -syntax camlp4o -package netstring,orm.syntax,batteries,cryptokit,ssl -o remind_daemon sendmail.cmo remind_daemon.cmo
install:
cp remind.cmo sendmail.cmo remind_daemon remind_daemon_starter.sh /var/www/ocsigen
clean:
rm *.cm[oi] remind_daemon |