The following commit has been merged in the master branch:
commit df58fa429c5d2c86fd63516a3f16104856c56eae
Author: Lifeng Sun <lifong...@gmail.com>
Date:   Sun May 12 07:56:13 2013 +0800

    Revert commit a6a7309dff692a14a43856c7b4e772b9040854bf.

diff --git a/Togl/examples/Makefile b/Togl/examples/Makefile
index da2168f..86fe6ca 100644
--- a/Togl/examples/Makefile
+++ b/Togl/examples/Makefile
@@ -1,16 +1,4 @@
 # Makefile for examples subdir
 
-PACKAGES = lablgl.togl,unix
-DERIVEDML = $(patsubst %.ml.gz,%.ml,$(wildcard *.ml.gz))
-
-all: $(patsubst %.ml,%.opt,$(wildcard *.ml) $(DERIVEDML))
-
-%.ml : %.ml.gz
-       gunzip -c $^ > $@
-
-%.opt : %.ml
-       ocamlfind ocamlopt -package $(PACKAGES) -c  $^
-       ocamlfind ocamlopt -package $(PACKAGES) -linkpkg -o $@ $^
-
 clean:
-       rm -f *.cm* *.o *.opt $(DERIVEDML)
+       rm -f *.cm* *.o *.opt
diff --git a/Togl/examples/planet.ml b/Togl/examples/planet.ml
index 9d84849..0a0f3fb 100644
--- a/Togl/examples/planet.ml
+++ b/Togl/examples/planet.ml
@@ -1,6 +1,6 @@
 (* $Id: planet.ml,v 1.17 2001-09-07 06:50:01 garrigue Exp $ *)
 
-open Unix
+#load"unix.cma";;
 
 class planet togl = object (self)
   val togl = togl

-- 
lablgl packaging

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to