We don't want to do the ABI substitution on the whole source, only in the debian...
authorJulien Cristau <julien.cristau@ens-lyon.org>
Fri, 9 Dec 2005 16:46:12 +0000 (16:46 +0000)
committerJulien Cristau <julien.cristau@ens-lyon.org>
Fri, 9 Dec 2005 16:46:12 +0000 (16:46 +0000)
debian/changelog
debian/rules

index 07de05615593ae9672aa63b5a1f8d9a903018806..2bdf8a4a38d81e1539cb6d439d4dd24196638479 100644 (file)
@@ -1,3 +1,10 @@
+ocaml (3.09.0-4) UNRELEASED; urgency=low
+
+  * debian/rules: the abi-sed rule is phony, we don't want to run configure
+    twice.
+
+ -- Julien Cristau <julien.cristau@ens-lyon.org>  Fri,  9 Dec 2005 17:45:16 +0100
+
 ocaml (3.09.0-3) unstable; urgency=low
 
   * Fix build on non-native arches which was broken by the changes to
index ff317199a09915a55680dfc7083acd4e24957e0d..e0ae258bf4c6dc522b7386bc93cc9410bf94fd34 100755 (executable)
@@ -38,7 +38,7 @@ ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
 endif
 
 abi-sed:
-       for t in `find . -name \*.in`; do \
+       for t in `find debian/ -name \*.in`; do \
          sed -e 's%#OcamlABI#%$(OCAMLABI)%' -e 's%#OcamlMAJOR#%$(OCAMLMAJOR)%' $$t >$${t%.in}; \
        done
 
@@ -287,4 +287,4 @@ binary-arch: build-arch install-arch
        dh_builddeb -s
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch 
+.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch abi-sed