From 4a1335ac502ef0b55e063e24589d0a28b3fa9c5c Mon Sep 17 00:00:00 2001 From: Stephane Glondu Date: Sat, 22 Sep 2012 09:30:09 +0000 Subject: Fix FTBFS without natdynlink --- debian/rules | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 792a1d2..cf66ba3 100755 --- a/debian/rules +++ b/debian/rules @@ -2,13 +2,21 @@ # -*- makefile -*- include /usr/share/coq/coqvars.mk +include /usr/share/ocaml/ocamlvars.mk + +ifeq ($(OCAML_NATDYNLINK),yes) + TARGET := opt +else + TARGET := byte +endif %: dh $@ --with ocaml .PHONY: override_dh_auto_build override_dh_auto_build: - $(MAKE) world + $(MAKE) Makefile.coq + $(MAKE) -f Makefile.coq $(TARGET) html .PHONY: override_dh_auto_install override_dh_auto_install: -- cgit v1.2.3