[Pkg-ocaml-maint-commits] [SCM] dh-ocaml packaging branch, master, updated. debian/0.5.0-37-g0f85317

Stephane Glondu steph at glondu.net
Sat Jul 25 14:58:14 UTC 2009


The following commit has been merged in the master branch:
commit 0f85317776a7bc67eb51b78d858fe0bfdda2306a
Author: Stephane Glondu <steph at glondu.net>
Date:   Sat Jul 25 16:56:46 2009 +0200

    Run dh_ocamlinit -d in a separate target depending on unpatch

diff --git a/cdbs/1/rules/ocaml.mk b/cdbs/1/rules/ocaml.mk
index b8f1cbd..34fc79b 100644
--- a/cdbs/1/rules/ocaml.mk
+++ b/cdbs/1/rules/ocaml.mk
@@ -82,10 +82,12 @@ clean::
 # markers with the proper value; clean stamps after building
 dh-ocamlinit:
 	dh_ocamlinit
-pre-build:: dh-ocamlinit
-clean::
+dh-ocamlinit-clean: unpatch
 	dh_ocamlinit -d
 
+pre-build:: dh-ocamlinit
+clean:: dh-ocamlinit-clean
+
 # avoid dpatch breaking upon clean if debian/patches/*.in files are in use
 deapply-dpatches: dh-ocamlinit
 
@@ -103,4 +105,3 @@ debian/control::
 endif
 
 endif
-

-- 
dh-ocaml packaging



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