[Pkg-ocaml-maint-commits] r3061 - in /trunk/packages/netclient/trunk/debian: changelog control.in dirs rules

zack at users.alioth.debian.org zack at users.alioth.debian.org
Tue Sep 5 20:15:43 UTC 2006


Author: zack
Date: Tue Sep  5 20:15:41 2006
New Revision: 3061

URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=3061
Log:
policy compliant debian/* setting

Removed:
    trunk/packages/netclient/trunk/debian/control.in
    trunk/packages/netclient/trunk/debian/dirs
Modified:
    trunk/packages/netclient/trunk/debian/changelog
    trunk/packages/netclient/trunk/debian/rules

Modified: trunk/packages/netclient/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/netclient/trunk/debian/changelog?rev=3061&op=diff
==============================================================================
--- trunk/packages/netclient/trunk/debian/changelog (original)
+++ trunk/packages/netclient/trunk/debian/changelog Tue Sep  5 20:15:41 2006
@@ -1,3 +1,15 @@
+netclient (0.91-8) unstable; urgency=low
+
+  * debian/rules
+    - removed no longer needed workaround for cdbs + dpatch
+    - avoid to create debian/control from debian/control.in on ocamlinit
+    - removed from the source package files which are generated at build time
+      from the corresponding .in files
+  * debian/control.in
+    - file removed; it is deprecated as per ocaml packaging policy 3.3
+
+ -- Stefano Zacchiroli <zack at debian.org>  Tue,  5 Sep 2006 22:13:00 +0200
+
 netclient (0.91-7) unstable; urgency=low
 
   * Upload to unstable.

Modified: trunk/packages/netclient/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/netclient/trunk/debian/rules?rev=3061&op=diff
==============================================================================
--- trunk/packages/netclient/trunk/debian/rules (original)
+++ trunk/packages/netclient/trunk/debian/rules Tue Sep  5 20:15:41 2006
@@ -3,23 +3,22 @@
 include /usr/share/cdbs/1/class/makefile.mk
 include /usr/share/cdbs/1/rules/dpatch.mk
 
+PKGNAME = libnetclient-ocaml-dev
+
 OCAMLABI := $(shell ocamlc -version)
 OCAMLLIBDIR := $(shell ocamlc -where)
-OFILES := $(patsubst %.in,%,$(shell ls debian/*.in))
+OFILES := $(filter-out debian/control,$(patsubst %.in,%,$(wildcard debian/*.in)))
 HAVE_OCAMLOPT := $(shell test -x /usr/bin/ocamlopt && echo "yes")
-PKGNAME = libnetclient-ocaml-dev
 DEB_DH_GENCONTROL_ARGS = -- -VF:OCamlABI="$(OCAMLABI)"
-DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(CURDIR)/debian/$(PKGNAME)$(OCAMLLIBDIR)
 
 ocamlinit:
 	for f in $(OFILES); do sed -e 's/@OCamlABI@/$(OCAMLABI)/g' $$f.in > $$f; done
+makebuilddir/$(PKGNAME):: ocamlinit
+
+DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(CURDIR)/debian/$(PKGNAME)$(OCAMLLIBDIR)
 
 ifeq ($(HAVE_OCAMLOPT),yes)
 build/$(PKGNAME)::
 	$(MAKE) opt
 	$(MAKE) doc
 endif
-
-# work around cdbs' bug
-unpatch: deapply-dpatches
-




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