[Pkg-ocaml-maint-commits] [approx] 05/16: avoid conflict with Gc module in stdlib

Eric Cooper ecc at cmu.edu
Mon Dec 9 15:44:03 UTC 2013


This is an automated email from the git hooks/post-receive script.

ecc-guest pushed a commit to branch upstream
in repository approx.

commit d51f9bb3dd48fcdc5ea54e7717ce673ddb24f8c6
Author: Eric Cooper <ecc at cmu.edu>
Date:   Sat Mar 9 15:15:13 2013 -0500

    avoid conflict with Gc module in stdlib
---
 Makefile             | 12 ++++++++----
 gc.ml => gc_cache.ml |  0
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index 3960d41..cf8dc83 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 # approx: proxy server for Debian archive files
-# Copyright (C) 2011  Eric C. Cooper <ecc at cmu.edu>
+# Copyright (C) 2013  Eric C. Cooper <ecc at cmu.edu>
 # Released under the GNU General Public License
 
 OCAMLBUILD := ocamlbuild
@@ -19,9 +19,13 @@ approx:
 	$(OCAMLBUILD) $(OCAMLBUILD_OPTS) approx.$(TARGET)
 	cp -p _build/approx.$(TARGET) $@
 
-approx-%:
-	$(OCAMLBUILD) $(OCAMLBUILD_OPTS) $(@:approx-%=%).$(TARGET)
-	cp -pv _build/$(@:approx-%=%).$(TARGET) $@
+approx-gc:
+	$(OCAMLBUILD) $(OCAMLBUILD_OPTS) gc_cache.$(TARGET)
+	cp -pv _build/gc_cache.$(TARGET) $@
+
+approx-import:
+	$(OCAMLBUILD) $(OCAMLBUILD_OPTS) import.$(TARGET)
+	cp -pv _build/import.$(TARGET) $@
 
 $(programs): $(wildcard *.ml*)
 
diff --git a/gc.ml b/gc_cache.ml
similarity index 100%
rename from gc.ml
rename to gc_cache.ml

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/approx.git



More information about the Pkg-ocaml-maint-commits mailing list