[Pkg-ocaml-maint-commits] [SCM] dh-ocaml packaging branch, master, updated. debian/0.2-8-g46983df

Samuel Mimram samuel.mimram at ens-lyon.org
Sat Feb 21 11:19:00 UTC 2009


The following commit has been merged in the master branch:
commit 46983df58ca1f2421849434559564e4dfeb79403
Author: Samuel Mimram <samuel.mimram at ens-lyon.org>
Date:   Sat Feb 21 12:18:55 2009 +0100

    Implementation which works even when ocaml-native-compilers is not installed...

diff --git a/share/ocamlvars.mk b/share/ocamlvars.mk
index 5aecd76..d7b2719 100644
--- a/share/ocamlvars.mk
+++ b/share/ocamlvars.mk
@@ -73,7 +73,7 @@ OCAML_TEAM += Sylvain Le Gall <gildor at debian.org>
 # no trailing "," (comma) on the last name
 
 # Best ocamldoc for the architecture
-OCAML_OCAMLDOC ?= $(if $(OCAML_OPT_ARCH),/usr/bin/ocamldoc.opt,/usr/bin/ocamldoc)
+OCAML_OCAMLDOC ?= $(if $(wildcard /usr/bin/ocamldoc.opt),/usr/bin/ocamldoc.opt,/usr/bin/ocamldoc)
 
 # ocamlfind flags which must be used in order to generate
 # correctly the ocamldoc documentation

-- 
dh-ocaml packaging



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