[Pkg-ocaml-maint-commits] [SCM] pgocaml packaging branch, master, updated. debian/1.3-1
Sylvain Le Gall
gildor at debian.org
Fri Jul 24 15:54:16 UTC 2009
The following commit has been merged in the master branch:
commit 4326fe4ab3b61026bba0140c348e1bc84ae2540d
Author: Sylvain Le Gall <gildor at debian.org>
Date: Fri Jul 24 15:50:26 2009 +0000
Save pGOCaml_config.ml and restore after building.
diff --git a/debian/changelog b/debian/changelog
index 8a24283..b88022b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-pgocaml (1.3-1) UNRELEASED; urgency=low
+pgocaml (1.3-1) unstable; urgency=low
* Initial release (Closes: #516629)
diff --git a/debian/rules b/debian/rules
index d8721d2..5fdbedd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,3 +39,11 @@ OCAML_OCAMLDOC_OCAMLFIND_FLAGS = -package extlib -package pcre -package csv -pac
pre-build::
make depend
+ if ! test -f pGOCaml_config.ml.orig; then \
+ cp -f pGOCaml_config.ml pGOCaml_config.ml.orig; \
+ fi
+
+clean::
+ -$(RM) pgocaml.cmxs
+ -mv pGOCaml_config.ml.orig pGOCaml_config.ml
+
--
pgocaml packaging
More information about the Pkg-ocaml-maint-commits
mailing list