[Pkg-ocaml-maint-commits] [SCM] aac-tactics packaging branch, master, updated. debian/0.3-1-3-ge1355f4

Stephane Glondu steph at glondu.net
Sat Sep 22 15:11:18 UTC 2012


The following commit has been merged in the master branch:
commit 4a1335ac502ef0b55e063e24589d0a28b3fa9c5c
Author: Stephane Glondu <steph at glondu.net>
Date:   Sat Sep 22 09:30:09 2012 +0000

    Fix FTBFS without natdynlink

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:

-- 
aac-tactics packaging



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