From: Mehdi Dogguy <mehdi@debian.org>
Date: Sun, 25 Apr 2010 16:09:46 +0200
Subject: [PATCH] .make-ocamlgraph no-op for non-local ocamlgraph

---
 Makefile |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index 6f21662..4c9e01a 100644
--- a/Makefile
+++ b/Makefile
@@ -381,6 +381,7 @@ endif # testing ocamlgraph is local
 # change '.make-ocamlgraph-stamp' before 'cvs commit'
 .make-ocamlgraph: .make-ocamlgraph-stamp
 	touch $@
+ifneq ("$(OCAMLGRAPH_LOCAL)","")
 # Inline the rules of "untar-ocamlgraph" here
 # because calling a recursive make does not work
 	$(PRINT_UNTAR) ocamlgraph
@@ -388,6 +389,7 @@ endif # testing ocamlgraph is local
 	$(TAR) xzf ocamlgraph.tar.gz
 	cd $(OCAMLGRAPH_LOCAL) && ./configure
 	$(MAKE) clean
+endif
 
 include .make-ocamlgraph
 DISTRIB_FILES += .make-ocamlgraph
-- 
