[Pkg-ocaml-maint-commits] r1949 - trunk/packages/findlib/trunk/debian

Stefano Zacchiroli zack at costa.debian.org
Wed Nov 9 08:34:39 UTC 2005


Author: zack
Date: 2005-11-09 08:34:30 +0000 (Wed, 09 Nov 2005)
New Revision: 1949

Modified:
   trunk/packages/findlib/trunk/debian/changelog
   trunk/packages/findlib/trunk/debian/rules
Log:
ready to release, uniformed .in handling with pcre-ocaml


Modified: trunk/packages/findlib/trunk/debian/changelog
===================================================================
--- trunk/packages/findlib/trunk/debian/changelog	2005-11-09 08:12:12 UTC (rev 1948)
+++ trunk/packages/findlib/trunk/debian/changelog	2005-11-09 08:34:30 UTC (rev 1949)
@@ -1,4 +1,4 @@
-findlib (1.1-1) UNRELEASED; urgency=low
+findlib (1.1-1) unstable; urgency=low
 
   * New usptream release
   * Rebuilt with ocaml 3.09

Modified: trunk/packages/findlib/trunk/debian/rules
===================================================================
--- trunk/packages/findlib/trunk/debian/rules	2005-11-09 08:12:12 UTC (rev 1948)
+++ trunk/packages/findlib/trunk/debian/rules	2005-11-09 08:34:30 UTC (rev 1949)
@@ -10,13 +10,11 @@
 OCAML_LIB_DIR := $(shell ocamlc -where)
 OCAMLABI := $(shell ocamlc -version)
 FINDLIB_METAS = $(shell ls site-lib-src/)
-IN_FILES := $(shell ls debian/*.in)
-GEN_FILES = $(patsubst %.in,%,$(IN_FILES))
+OFILES = $(patsubst %.in,%,$(shell ls debian/*.in))
 METAS_DIR = METAS
 
-init: $(GEN_FILES)
-%: %.in
-	sed -e 's/@OCamlABI@/$(OCAMLABI)/' $< > $@
+ocamlinit:
+	for f in $(OFILES); do sed -e 's/@OCamlABI@/$(OCAMLABI)/' $$f.in > $$f; done
 
 configure: configure-stamp
 configure-stamp: patch-stamp




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