[Pkg-ocaml-maint-commits] [SCM] coinst packaging branch, master, updated. debian/1.01-2-2-gc16f211

Ralf Treinen treinen at debian.org
Thu Feb 2 14:48:49 UTC 2012


The following commit has been merged in the master branch:
commit c16f21127abc33cc6e09abbed67c501ab3a23302
Author: Ralf Treinen <treinen at debian.org>
Date:   Thu Feb 2 15:47:15 2012 +0100

    include ocamlvars.m

diff --git a/debian/rules b/debian/rules
index 5368e16..7f5c122 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,19 +1,19 @@
 #!/usr/bin/make -f
 
+include /usr/share/ocaml/ocamlvars.mk
+
 %:
 	dh $@ --with ocaml
 
 override_dh_auto_build:
 ifeq ($(OCAML_HAVE_OCAMLOPT),yes)
 	$(MAKE)
-	cd viewer
-	make coinst_viewer
+	cd viewer && make coinst_viewer
 else
 	$(MAKE) coinst.byte
 	ln coinst.byte coinst
-	cd viewer
-	make coinst_viewer.byte
-	ln coinst_viewer.byte coinst_viewer
+	cd viewer && make coinst_viewer.byte
+	ln viewer/coinst_viewer.byte viewer/coinst_viewer
 endif
 
 override_dh_auto_clean:

-- 
coinst packaging



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