Source

omy / OMyOPAM

Full commit
# /home/jun/.opam/system/lib
# Free var
# 
OCAMLFIND_DESTDIR=$(HOME)/.opam/system/lib

OMyOPAM(name) =
    $(Installed $(name)): 
        opam --yes install $(name)
        # (cd install-$(name); spotinstall $(name))
        CreateInstalled($(name), $(find $(OCAMLFIND_DESTDIR)$(DIRSEP)$(name) -f {}))

OMyOPAM2(name, ocamlfindpackname) =
    $(Installed $(ocamlfindpackname)): 
        opam --yes install $(name)
        # (cd install-$(name); spotinstall $(name))
        CreateInstalled($(ocamlfindpackname), $(find $(OCAMLFIND_DESTDIR)$(DIRSEP)$(ocamlfindpackname) -f {}))