[Pkg-ocaml-maint-commits] r2035 - in trunk/packages: calendar/trunk/debian extlib/trunk/debian findlib/trunk/debian pcre-ocaml/trunk/debian postgresql-ocaml/trunk/debian ulex/trunk/debian xstr/trunk/debian

Stefano Zacchiroli zack at costa.debian.org
Sun Nov 13 11:37:22 UTC 2005


Author: zack
Date: 2005-11-13 11:37:21 +0000 (Sun, 13 Nov 2005)
New Revision: 2035

Modified:
   trunk/packages/calendar/trunk/debian/rules
   trunk/packages/extlib/trunk/debian/rules
   trunk/packages/findlib/trunk/debian/rules
   trunk/packages/pcre-ocaml/trunk/debian/rules
   trunk/packages/postgresql-ocaml/trunk/debian/rules
   trunk/packages/ulex/trunk/debian/rules
   trunk/packages/xstr/trunk/debian/rules
Log:
bugfix: .in sed replacement must be global


Modified: trunk/packages/calendar/trunk/debian/rules
===================================================================
--- trunk/packages/calendar/trunk/debian/rules	2005-11-13 11:33:43 UTC (rev 2034)
+++ trunk/packages/calendar/trunk/debian/rules	2005-11-13 11:37:21 UTC (rev 2035)
@@ -13,7 +13,7 @@
 DEB_MAKE_INSTALL_TARGET = install OCAML_LIB_DIR=$(CURDIR)/debian/$(PKGNAME)$(OCAMLLIBDIR)
 
 ocamlinit:
-	for f in $(OFILES); do sed -e 's/@OCamlABI@/$(OCAMLABI)/' $$f.in > $$f; done
+	for f in $(OFILES); do sed -e 's/@OCamlABI@/$(OCAMLABI)/g' $$f.in > $$f; done
 configure/$(PKGNAME)::
 	./configure
 clean::

Modified: trunk/packages/extlib/trunk/debian/rules
===================================================================
--- trunk/packages/extlib/trunk/debian/rules	2005-11-13 11:33:43 UTC (rev 2034)
+++ trunk/packages/extlib/trunk/debian/rules	2005-11-13 11:37:21 UTC (rev 2035)
@@ -13,7 +13,7 @@
 include /usr/share/dpatch/dpatch.make
 
 ocamlinit:
-	for f in $(OFILES); do sed -e 's/@OCamlABI@/$(OCAMLABI)/' $$f.in > $$f; done
+	for f in $(OFILES); do sed -e 's/@OCamlABI@/$(OCAMLABI)/g' $$f.in > $$f; done
 
 build:
 clean: patch clean1 unpatch

Modified: trunk/packages/findlib/trunk/debian/rules
===================================================================
--- trunk/packages/findlib/trunk/debian/rules	2005-11-13 11:33:43 UTC (rev 2034)
+++ trunk/packages/findlib/trunk/debian/rules	2005-11-13 11:37:21 UTC (rev 2035)
@@ -13,7 +13,7 @@
 DEB_MAKE_INSTALL_TARGET = install prefix=$(CURDIR)/debian/tmp
 
 ocamlinit:
-	for f in $(OFILES); do sed -e 's/@OCamlABI@/$(OCAMLABI)/' $$f.in > $$f; done
+	for f in $(OFILES); do sed -e 's/@OCamlABI@/$(OCAMLABI)/g' $$f.in > $$f; done
 
 configure/$(PKGNAME)::
 	rm -f README # just a symlink, the good one is doc/README

Modified: trunk/packages/pcre-ocaml/trunk/debian/rules
===================================================================
--- trunk/packages/pcre-ocaml/trunk/debian/rules	2005-11-13 11:33:43 UTC (rev 2034)
+++ trunk/packages/pcre-ocaml/trunk/debian/rules	2005-11-13 11:37:21 UTC (rev 2035)
@@ -22,7 +22,7 @@
 endif
 
 ocamlinit:
-	for f in $(OFILES); do sed -e 's/@OCamlABI@/$(OCAMLABI)/' $$f.in > $$f; done
+	for f in $(OFILES); do sed -e 's/@OCamlABI@/$(OCAMLABI)/g' $$f.in > $$f; done
 build/$(PKGNAME)::
 	mkdir -p $(DESTDIR) $(DOCDIR)
 	ocamldoc -html -m A -keep-code -d $(DOCDIR) lib/pcre.mli

Modified: trunk/packages/postgresql-ocaml/trunk/debian/rules
===================================================================
--- trunk/packages/postgresql-ocaml/trunk/debian/rules	2005-11-13 11:33:43 UTC (rev 2034)
+++ trunk/packages/postgresql-ocaml/trunk/debian/rules	2005-11-13 11:37:21 UTC (rev 2035)
@@ -17,7 +17,7 @@
 BYTE_STUFF="libpostgresql_stubs.a postgresql.cma postgresql.cmi postgresql.mli dllpostgresql_stubs.so"
 
 ocamlinit:
-	for f in $(OFILES); do sed -e 's/@OCamlABI@/$(OCAMLABI)/' $$f.in > $$f; done
+	for f in $(OFILES); do sed -e 's/@OCamlABI@/$(OCAMLABI)/g' $$f.in > $$f; done
 
 ifeq ($(HAVE_OCAMLOPT),yes)
 build/$(PKGNAME)::

Modified: trunk/packages/ulex/trunk/debian/rules
===================================================================
--- trunk/packages/ulex/trunk/debian/rules	2005-11-13 11:33:43 UTC (rev 2034)
+++ trunk/packages/ulex/trunk/debian/rules	2005-11-13 11:37:21 UTC (rev 2035)
@@ -13,7 +13,7 @@
 DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(CURDIR)/debian/$(PKGNAME)$(OCAMLLIBDIR)
 
 ocamlinit:
-	for f in $(OFILES); do sed -e 's/@OCamlABI@/$(OCAMLABI)/' $$f.in > $$f; done
+	for f in $(OFILES); do sed -e 's/@OCamlABI@/$(OCAMLABI)/g' $$f.in > $$f; done
 ifeq ($(HAVE_OCAMLOPT),yes)
 build/$(PKGNAME)::
 	$(MAKE) all.opt

Modified: trunk/packages/xstr/trunk/debian/rules
===================================================================
--- trunk/packages/xstr/trunk/debian/rules	2005-11-13 11:33:43 UTC (rev 2034)
+++ trunk/packages/xstr/trunk/debian/rules	2005-11-13 11:37:21 UTC (rev 2035)
@@ -13,7 +13,7 @@
 DEB_DH_GENCONTROL_ARGS = -- -VF:OCamlABI="$(OCAMLABI)"
 
 ocamlinit:
-	for f in $(OFILES); do sed -e 's/@OCamlABI@/$(OCAMLABI)/' $$f.in > $$f; done
+	for f in $(OFILES); do sed -e 's/@OCamlABI@/$(OCAMLABI)/g' $$f.in > $$f; done
 ifeq ($(HAVE_OCAMLOPT),yes)
 build/$(PKGNAME)::
 	$(MAKE) opt




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