Re: [Pkg-ocaml-maint-commits] [SCM] dh-ocaml packaging branch, master, updated. debian/0.2-7-g1ed60c6
Samuel Mimram a écrit :
> +# Best ocamldoc for the architecture
> +OCAML_OCAMLDOC ?= $(if $(OCAML_OPT_ARCH),/usr/bin/ocamldoc.opt,/usr/bin/ocamldoc)
> +
Beware, /usr/bin/ocamldoc.opt might not be present, even on native
architectures (it is installed by ocaml-native-compilers).
I would suggest:
$(if $(wildcard
/usr/bin/ocamldoc.opt),/usr/bin/ocamldoc.opt,/usr/bin/ocamldoc)
instead.
Cheers,
--
Stéphane
Reply to: