Commits

camlspotter  committed 87129c2

added omyopam

  • Participants
  • Parent commits 15fac11

Comments (0)

Files changed (1)

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