summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Samuel Mimram <smimram@debian.org>2007-04-24 14:47:41 +0000
committerGravatar Samuel Mimram <smimram@debian.org>2007-04-24 14:47:41 +0000
commitdfd50bb3ffc4a69df1ca865b17ad9d44478fda2d (patch)
treeada70075b5442cbebb294b4fa07a723b1d9e7723
parentcb73a339553ac8a5449b3bf850207ed7500ff147 (diff)
Correctly set Coq_config.best when rebuilding in byte mode.
-rw-r--r--debian/changelog6
-rwxr-xr-xdebian/rules1
2 files changed, 7 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 9ced581a..977c1e8e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+coq (8.1+dfsg-4) unstable; urgency=low
+
+ * Correctly set Coq_config.best when rebuilding in byte mode.
+
+ -- Samuel Mimram <smimram@debian.org> Tue, 24 Apr 2007 14:46:59 +0000
+
coq (8.1+dfsg-3) unstable; urgency=low
* Uploading to unstable.
diff --git a/debian/rules b/debian/rules
index d8920943..f22d2c48 100755
--- a/debian/rules
+++ b/debian/rules
@@ -36,6 +36,7 @@ build-stamp:
|| (echo WARNING: NATIVE CODE COMPILATION FAILED \
&& echo Trying to build coq in bytecode instead \
&& $(MAKE) archclean clean \
+ && sed -i -e 's/best = "opt"/best = "byte"/' config/coq_config.ml \
&& $(MAKE) BEST=byte HASCOQIDE=byte check \
&& echo NATIVE CODE COMPILATION FAILED \
&& echo Coq was built in bytecode instead); \